Storing more complete commit information on branch metadata

This commit is contained in:
Cássio Zen
2016-09-05 12:12:38 -03:00
parent 4a55bb0296
commit e852991954
3 changed files with 33 additions and 10 deletions

View File

@ -70,6 +70,11 @@ function parseConfig(data) {
}
}
if (!('publish_mode' in config.backend)) {
// Make sure there is a publish mode
config.backend['publish_mode'] = 'simple';
}
if (!('public_folder' in config)) {
// Make sure there is a public folder
config.public_folder = config.media_folder;