summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend.js b/frontend.js
index ee811cd..718d510 100644
--- a/frontend.js
+++ b/frontend.js
@@ -23,8 +23,9 @@ exports.start = function(config) {
for(var slide in slides['slides']) {
if(!slides['slides'].hasOwnProperty(slide)) { continue; }
if(slides['slides'][slide]['type'] === 'image') {
+ console.log(slides['slides'][slide]['file']);
slidesAr.push({
- image: slides['slides'][slide]['file']
+ image: '/' + slides['slides'][slide]['file']
});
}
if(slides['slides'][slide]['head'].length > 0) {
@@ -50,7 +51,6 @@ exports.start = function(config) {
eventObj[evF] = slides['events'][date][ev][evF];
}
}
- console.log(eventObj);
eventAr[eventAr.length - 1]['events'].push(eventObj);
}
}