-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.js
28 lines (26 loc) · 1.11 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var path = require('path');
var static_dir = './public'
var version = '1.0.0'
var config = {
mapJson: path.join(static_dir,'/dist/1.0.0/map.json'),
mapDevJson: path.join(static_dir,'/dist/1.0.0/dev/map.json'),
demoindex: path.join(static_dir,'/dist/1.0.0/html/demoindex.html'),
goods_img: 'http://jh-ljs-goods.oss-cn-shenzhen.aliyuncs.com/',
account_img:'http://jh-ljs-account.oss-cn-shenzhen.aliyuncs.com/',
static: {
dft: path.join(static_dir,'/dist/1.0.0/'),
html: path.join(static_dir,'/dist/1.0.0/html'),
js: path.join(static_dir,'/dist/1.0.0/js'),
css: path.join(static_dir,'/dist/1.0.0/css'),
img: path.join(static_dir,'/dist/1.0.0/images'),
test: {
dft: path.join(static_dir,'/dist/1.0.0/dev'),
html: path.join(static_dir,'/dist/1.0.0/dev/html'),
js: path.join(static_dir,'/dist/1.0.0/dev/js'),
css: path.join(static_dir,'/dist/1.0.0/dev/css'),
img: path.join(static_dir,'/dist/1.0.0/dev/images')
}
},
upload_root: path.join(static_dir,'/dist/upload')
}
module.exports = config