app scaffold
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"_comment": "dev 环境。构建时必须带 --dart-define-from-file=env/dev.json,否则 AppEnv.fromDartDefine 会直接抛错。所有地址都是占位符,TODO(ops) 待运维确认真实域名。",
|
||||
"API_BASE_URL": "https://api-dev.example.com",
|
||||
"ENABLE_LOG": true,
|
||||
"SENTRY_DSN": "",
|
||||
"H5_ALLOWED_HOSTS": "h5-dev.example.com"
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"_comment": "prod 环境。ENABLE_LOG 必须为 false(13:生产不写控制台、不落日志文件)。TODO(ops) 待运维确认真实域名与 Sentry DSN。",
|
||||
"API_BASE_URL": "https://api.example.com",
|
||||
"ENABLE_LOG": false,
|
||||
"SENTRY_DSN": "",
|
||||
"H5_ALLOWED_HOSTS": "h5.example.com"
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"_comment": "uat 环境。TODO(ops) 待运维确认真实域名与 Sentry DSN。",
|
||||
"API_BASE_URL": "https://api-uat.example.com",
|
||||
"ENABLE_LOG": true,
|
||||
"SENTRY_DSN": "",
|
||||
"H5_ALLOWED_HOSTS": "h5-uat.example.com"
|
||||
}
|
||||
Reference in New Issue
Block a user