various fixes
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
EXPO_PUBLIC_API_URL=http://192.168.10.178:8000
|
||||
EXPO_PUBLIC_WS_URL=ws://192.168.10.178:8000
|
||||
# 复制为 .env.development / .env.staging / .env.production 后填写(勿提交含密钥的副本)。
|
||||
# 本地:npm start 会通过 prestart 执行 `use-env development` 生成 .env;
|
||||
# 或手动 `npm run use-env -- staging` / `npm run use-env -- production`。
|
||||
# CI:GitHub Actions 在构建 APK 前会按分支调用 use-env(main → staging,tag → production)。
|
||||
#
|
||||
# 变量在构建时注入;修改后需重新 prebuild/打包客户端。
|
||||
|
||||
EXPO_PUBLIC_API_URL=https://your-api.example.com
|
||||
EXPO_PUBLIC_WS_URL=wss://your-api.example.com
|
||||
|
||||
Reference in New Issue
Block a user