diff --git a/apps/api/src/config/configuration.ts b/apps/api/src/config/configuration.ts index d36aed3..1b41b78 100644 --- a/apps/api/src/config/configuration.ts +++ b/apps/api/src/config/configuration.ts @@ -43,8 +43,7 @@ export default (): AppConfig => { adminOrigin: process.env.ADMIN_ORIGIN || 'http://localhost:5173', h5Origin, // 短链跳转到 C 端溯源页的地址模板,{code} 会被替换为短码 - traceUrlTemplate: - process.env.TRACE_URL_TEMPLATE || `${h5Origin}/#/pages/trace/index?code={code}`, + traceUrlTemplate: process.env.TRACE_URL_TEMPLATE || `${h5Origin}/#/trace/{code}`, jwt: { secret: process.env.JWT_SECRET || 'artveris_dev_secret', expiresIn: process.env.JWT_EXPIRES_IN || '7d', diff --git a/apps/h5/index.html b/apps/h5/index.html new file mode 100644 index 0000000..dddd90c --- /dev/null +++ b/apps/h5/index.html @@ -0,0 +1,15 @@ + + +
+ + +{{ t('home.hint') }}
+ +{{ t('state.loading') }}
+{{ t(`state.${stateKey}Desc`) }}
+