feat:H5 访问域名,改为 .env 配置

This commit is contained in:
YunaiV
2025-04-28 23:01:34 +08:00
parent 20e7593e14
commit 791e99057c
4 changed files with 7 additions and 3 deletions
+2
View File
@@ -19,6 +19,7 @@ export const apiPath = import.meta.env.SHOPRO_API_PATH;
export const staticUrl = import.meta.env.SHOPRO_STATIC_URL;
export const tenantId = import.meta.env.SHOPRO_TENANT_ID;
export const websocketPath = import.meta.env.SHOPRO_WEBSOCKET_PATH;
export const h5Url = import.meta.env.SHOPRO_H5_URL;
export default {
baseUrl,
@@ -26,4 +27,5 @@ export default {
staticUrl,
tenantId,
websocketPath,
h5Url,
};