feat: 线上地址
This commit is contained in:
parent
69735168f7
commit
8efed74b92
@ -25,7 +25,7 @@ export interface PagedResult<T> {
|
|||||||
// 获取.env文件中的变量
|
// 获取.env文件中的变量
|
||||||
|
|
||||||
|
|
||||||
export const API_ENDPOINT = Constants.expoConfig?.extra?.API_ENDPOINT || "http://192.168.31.16:31646/api";
|
export const API_ENDPOINT = Constants.expoConfig?.extra?.API_ENDPOINT || "https://api.memorywake.com/api";
|
||||||
|
|
||||||
// 更新 access_token 的逻辑 - 用于React组件中
|
// 更新 access_token 的逻辑 - 用于React组件中
|
||||||
export const useAuthToken = async<T>(message: string | null) => {
|
export const useAuthToken = async<T>(message: string | null) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user