feat: 添加环境配置和动态主页URL

This commit is contained in:
Booker
2026-05-19 17:34:48 +07:00
parent 1635eef857
commit f97a94bc7f
2 changed files with 35 additions and 1 deletions

View File

@@ -8,7 +8,9 @@ import 'package:webview_flutter/webview_flutter.dart';
import 'package:webview_flutter_android/webview_flutter_android.dart';
import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart';
const _homeUrl = 'https://h5-im.imharry.work/';
import 'config/app_config.dart';
final _homeUrl = AppConfig.homeUrl;
const _stopWebMediaScript = r'''
(() => {
try {