Skip to content

Commit

Permalink
请求地址修改
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed Dec 28, 2017
1 parent 785bae7 commit 7218cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ let routerMode = 'history';
let baseImgPath;

if (process.env.NODE_ENV == 'development') {
baseUrl = 'http://cangdu.org:8001';
baseImgPath = 'http://cangdu.org:8001/img/';
baseUrl = 'http://localhost:8001';
baseImgPath = 'http://localhost:8001/img/';
}else{
baseUrl = 'http://cangdu.org:8001';
baseImgPath = 'http://cangdu.org:8001/img/';
Expand Down

0 comments on commit 7218cc0

Please sign in to comment.