From fea5af96fa2501ae8ad02849bf02291cdf46fea0 Mon Sep 17 00:00:00 2001 From: Junhui Chen Date: Thu, 17 Jul 2025 20:35:40 +0800 Subject: [PATCH] fix: eas link --- app.config.js | 7 ------- app.json | 3 ++- package-lock.json | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 app.config.js diff --git a/app.config.js b/app.config.js deleted file mode 100644 index aee3564..0000000 --- a/app.config.js +++ /dev/null @@ -1,7 +0,0 @@ -// app.config.js -export default ({ config }) => ({ - ...config, - extra: { - API_ENDPOINT: process.env.API_ENDPOINT || "http://192.168.31.115:18080/api" - } -}); \ No newline at end of file diff --git a/app.json b/app.json index bf8aaf7..8a294f5 100644 --- a/app.json +++ b/app.json @@ -96,7 +96,8 @@ "router": {}, "eas": { "projectId": "04721dd4-6b15-495a-b9ec-98187c613172" - } + }, + "API_ENDPOINT": "http://192.168.31.115:18080/api" } } } diff --git a/package-lock.json b/package-lock.json index 09f375c..0e979a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8891,7 +8891,7 @@ }, "node_modules/expo-linear-gradient": { "version": "14.1.5", - "resolved": "http://192.168.31.115:8081/repository/npm/expo-linear-gradient/-/expo-linear-gradient-14.1.5.tgz", + "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-14.1.5.tgz", "integrity": "sha512-BSN3MkSGLZoHMduEnAgfhoj3xqcDWaoICgIr4cIYEx1GcHfKMhzA/O4mpZJ/WC27BP1rnAqoKfbclk1eA70ndQ==", "license": "MIT", "peerDependencies": {