-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
43 lines (41 loc) · 978 Bytes
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* config
*
*/
var path = require('path');
var pkg = require('./package.json');
var _ = require('lodash');
var config = {
debug: true,
name: 'sprider development resources',
ui: {
css: '',
js: '',
head: '',
foot: '',
title: '',
charset: '',
__style: '',
__script: ''
},
template: {
name: 'velocity',
engine: require('velocityjs'), // 模板引擎
extension: 'vm',
callback: function() {
var fn = function() {};
var call = arguments[0];
return _.isFunction(call) ? call : fn;
}
},
version: pkg.version,
// site sittings
host: '10.63.73.38',
assetsServer: '', // 静态文件存储域名
charset: 'GB2312',
keywords: 'front local development resources..',
description: 'front local development resources',
port: 3000
};
module.exports = config;
module.exports.config = config;