File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default {
46
46
*/
47
47
tryLoginTimes : 3 ,
48
48
// CodePush Web(https://github.com/lisong/code-push-web) login address.
49
- codePushWebUrl : process . env . WEB_APP_URL || "http://localhost:3000" ,
49
+ webAppUrl : process . env . WEB_APP_URL || "http://localhost:3000" ,
50
50
// create patch updates's number. default value is 3
51
51
diffNums : 3 ,
52
52
// data dir for caclulate diff files. it's optimization.
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ import validationRouter from '~/core/router'
5
5
const router = validationRouter ( )
6
6
7
7
router . get ( '/login' , ( req , res ) => {
8
- const codePushWebUrl = config . common . codePushWebUrl
8
+ const codePushWebUrl = config . common . webAppUrl
9
9
res . redirect ( `${ codePushWebUrl } /auth/login` ) ;
10
10
} ) ;
11
11
12
12
router . get ( '/register' , ( req , res ) => {
13
- const codePushWebUrl = config . common . codePushWebUrl
13
+ const codePushWebUrl = config . common . webAppUrl
14
14
res . redirect ( `${ codePushWebUrl } /register` ) ;
15
15
} ) ;
16
16
You can’t perform that action at this time.
0 commit comments