diff --git a/app.json b/app.json index 11a9aaa..a29ecab 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "expo": { "name": "memowake", "slug": "memowake", - "version": "1.0.0", + "version": "0.5.0", "orientation": "portrait", "icon": "./assets/icons/png/app.png", "scheme": "memowake", diff --git a/lib/server-api-util.ts b/lib/server-api-util.ts index 8331343..10d06fc 100644 --- a/lib/server-api-util.ts +++ b/lib/server-api-util.ts @@ -25,7 +25,7 @@ export interface PagedResult { // 获取.env文件中的变量 -export const API_ENDPOINT = Constants.expoConfig?.extra?.API_ENDPOINT || "http://192.168.31.115:18080/api"; +export const API_ENDPOINT = Constants.expoConfig?.extra?.API_ENDPOINT || "https://api.memorywake.com/api"; // 更新 access_token 的逻辑 - 用于React组件中 export const useAuthToken = async(message: string | null) => {