Skip to content

Commit f3189dd

Browse files
committed
adds WEB_APP_URL config
1 parent 1d76666 commit f3189dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default {
4646
*/
4747
tryLoginTimes: 3,
4848
// CodePush Web(https://github.com/lisong/code-push-web) login address.
49-
codePushWebUrl: "http://localhost:3000",
49+
codePushWebUrl: process.env.WEB_APP_URL || "http://localhost:3000",
5050
// create patch updates's number. default value is 3
5151
diffNums: 3,
5252
// data dir for caclulate diff files. it's optimization.

0 commit comments

Comments
 (0)