Skip to content

Commit 828ae64

Browse files
committed
change img path
1 parent 5f34354 commit 828ae64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/config/env.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
*/
99
let baseUrl = '';
1010
let routerMode = 'history';
11-
let baseImgPath = 'http://cangdu.org/img/';
11+
let baseImgPath;
1212

1313
if (process.env.NODE_ENV == 'development') {
1414
//baseUrl = 'http://cangdu.org:8001';
15+
baseImgPath = 'http://cangdu.org:8001/img/';
1516
}else{
1617
baseUrl = 'http://cangdu.org:8001';
18+
baseImgPath = 'http://cangdu.org:8001/img/';
1719
}
1820

1921
export {

0 commit comments

Comments
 (0)