Skip to content

Commit

Permalink
fix: 默认测试网址现在变为了 smart-dev
Browse files Browse the repository at this point in the history
因为 cloudflare 需要花钱才能给四级网址证书
  • Loading branch information
he0119 committed Dec 6, 2024
1 parent b084e08 commit e2b1466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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.dev.hehome.xyz/graphql/',
defaultAdminUrl: 'https://smart.dev.hehome.xyz/admin/',
defaultApiUrl: 'https://smart-dev.hehome.xyz/graphql/',
defaultAdminUrl: 'https://smart-dev.hehome.xyz/admin/',
);
bootstrap(appConfig);
}
2 changes: 1 addition & 1 deletion lib/storage/view/widgets/scan_qr_icon_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class _ScanQRPageState extends State<ScanQRPage> {
}

// 从网址中提取 storageId
// https://smart.dev.hehome.xyz/storage/U3RvcmFnZTo1
// https://smart.hehome.xyz/storage/U3RvcmFnZTo1
if (storageId.startsWith('http')) {
final url = Uri.parse(storageId);
storageId = url.pathSegments.last;
Expand Down

0 comments on commit e2b1466

Please sign in to comment.