Skip to content

Commit

Permalink
change: 更新测试服务器网址
Browse files Browse the repository at this point in the history
这次使用三级域名,方便很多
  • Loading branch information
he0119 committed Oct 25, 2022
1 parent e3cd9ee commit eae16d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
needs: web
environment:
name: dev
url: https://test.hehome.xyz
url: https://smart.dev.hehome.xyz
if: github.event_name != 'pull_request'
steps:
- name: Download web files
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ android {
dev {
dimension "version"
applicationIdSuffix ".dev"
def hostNameValue = "test.hehome.xyz"
def hostNameValue = "smart.dev.hehome.xyz"
manifestPlaceholders = [appName: "智慧家庭 DEV", hostName: hostNameValue]
buildConfigField("String",
"HOST_NAME",
Expand Down
4 changes: 2 additions & 2 deletions lib/main_dev.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Future<void> main() async {
final appConfig = AppConfig(
appName: '智慧家庭 DEV',
flavorName: 'dev',
defaultApiUrl: 'https://smart.hemengyang.tk:2053/graphql/',
defaultAdminUrl: 'https://smart.hemengyang.tk:2053/admin/',
defaultApiUrl: 'https://smart.dev.hehome.xyz/graphql/',
defaultAdminUrl: 'https://smart.dev.hehome.xyz/admin/',
);
bootstrap(appConfig);
}

0 comments on commit eae16d3

Please sign in to comment.