修复打包时 没有切换ws生产环境
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ccdbebac41
commit
e8b476d099
|
@ -28,7 +28,7 @@ steps:
|
||||||
- npm install yarn
|
- npm install yarn
|
||||||
- yarn config set registry https://registry.npm.taobao.org --global
|
- yarn config set registry https://registry.npm.taobao.org --global
|
||||||
- yarn
|
- yarn
|
||||||
- sed -i 's?(dev_ws_url)?(dev_ws_url)?g' ./src/api/websocket.js
|
- sed -i 's?(dev_ws_url)?(wsurl)?g' ./src/api/websocket.js
|
||||||
- yarn build
|
- yarn build
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
|
|
Loading…
Reference in New Issue