fix(client): 公开页页脚「关于岩美」链接改为 AppConfig.aboutUrl 配置项

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-06-08 22:27:38 +08:00
parent af64e29459
commit ff32c8a845
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -34,6 +34,11 @@ class AppConfig {
defaultValue: '',
);
static const aboutUrl = String.fromEnvironment(
'ABOUT_URL',
defaultValue: 'https://jiu.51yanmei.com',
);
static String get baseUrl => _baseUrl;
static String get apiBaseUrl => '$_baseUrl/api/v1';
static String get healthUrl => '$_baseUrl/health';
@@ -1484,7 +1484,7 @@ class _Footer extends StatelessWidget {
const _FooterDivider(),
_FooterTextLink(text: '意见反馈', onTap: onFeedback),
const _FooterDivider(),
_FooterTextLink(text: '关于岩美', url: 'https://jiu.51yanmei.com'),
_FooterTextLink(text: '关于岩美', url: AppConfig.aboutUrl),
],
),
],