set base path for files and views to project dir
This commit is contained in:
Родитель
e577e853cb
Коммит
19f5cddd80
|
@ -7,7 +7,7 @@
|
|||
"CONFIG_FILES": "$HOME/code/config/aws.json,$HOME/config.json",
|
||||
"HEKAD_CONFIG": "$HOME/code/heka/hekad.toml"
|
||||
},
|
||||
"remote_hooks": {
|
||||
"hooks": {
|
||||
"postcreate": "scripts/aws/post_create.sh",
|
||||
"postdeploy": "scripts/aws/post_deploy.sh"
|
||||
},
|
||||
|
|
|
@ -11,7 +11,11 @@ const stats = require('./lib/stats');
|
|||
|
||||
// server settings
|
||||
var settings = {
|
||||
files: {
|
||||
relativeTo: __dirname
|
||||
},
|
||||
views: {
|
||||
basePath: __dirname,
|
||||
path: 'templates',
|
||||
engines: {
|
||||
html: 'handlebars'
|
||||
|
|
Загрузка…
Ссылка в новой задаче