Skip to content

Commit de6933f

Browse files
author
Taois
committed
feat: 增加默认打包,适配影图打包
1 parent 78aadca commit de6933f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

dashboard/.env.production.apps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ VITE_OUT_DIR=apps/drplayer
55

66
VITE_DEFAULT_VOD_CONFIG=http://127.0.0.1:5757/config/1?healthy=1&pwd=dzyyds
77
VITE_DEFAULT_LIVE_CONFIG=
8-
VITE_DEFAULT_PROXY_ACCESS=http://127.0.0.1:5757/req/${url}
8+
VITE_DEFAULT_PROXY_ACCESS=http://127.0.0.1:5757/req/\${url}
99
VITE_DEFAULT_PROXY_ACCESS_ENABLED=true
10-
VITE_DEFAULT_PROXY_PLAY=http://localhost:5757/unified-proxy/proxy?form=base64&auth=drpys&url=${url}&headers=${headers}&type=${type}#DS
10+
VITE_DEFAULT_PROXY_PLAY="http://localhost:5757/unified-proxy/proxy?form=base64&auth=drpys&url=\${url}&headers=\${headers}&type=\${type}#DS"
1111
VITE_DEFAULT_PROXY_PLAY_ENABLED=false
1212
VITE_DEFAULT_PROXY_SNIFF=http://localhost:57573/sniffer
1313
VITE_DEFAULT_PROXY_SNIFF_ENABLED=false

dashboard/.env.production.apps-yt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# .env.production.apps-yt
2-
# 影图子目录部署配置 - 部署到 /apps-yt/drplayer/ 目录
3-
VITE_BASE_PATH=/apps-yt/drplayer/
2+
# 影图子目录部署配置 - 部署到 /apps/drplayer/ 目录
3+
VITE_BASE_PATH=/apps/drplayer/
44
VITE_OUT_DIR=apps-yt/drplayer
55

6-
VITE_DEFAULT_VOD_CONFIG=${locationHost}/api/t4.json
6+
VITE_DEFAULT_VOD_CONFIG=\${locationHost}/api/t4.json
77
VITE_DEFAULT_LIVE_CONFIG=
88
VITE_DEFAULT_PROXY_ACCESS=
99
VITE_DEFAULT_PROXY_ACCESS_ENABLED=false
10-
VITE_DEFAULT_PROXY_PLAY=${locationHost}/api/proxy?url=${url}&headers=${headers}&type=${type}#影图
10+
VITE_DEFAULT_PROXY_PLAY="\${locationHost}/api/proxy?url=\${url}&headers=\${headers}&type=\${type}#影图"
1111
VITE_DEFAULT_PROXY_PLAY_ENABLED=true
12-
VITE_DEFAULT_PROXY_SNIFF=${locationHost}/sniffer
12+
VITE_DEFAULT_PROXY_SNIFF=\${locationHost}/sniffer
1313
VITE_DEFAULT_PROXY_SNIFF_ENABLED=true
1414
VITE_DEFAULT_SNIFFER_TIMEOUT=20
1515
VITE_DEFAULT_API_TIMEOUT=30

0 commit comments

Comments
 (0)