summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-21 00:50:15 +0200
committerJules Laplace <julescarbon@gmail.com>2017-06-21 00:50:15 +0200
commit0b854ecccfe7832ba9a837605822a103fd9d8bc0 (patch)
treed4a11b5677ff96618d29b114e43d25a334f66412 /index.js
parentfbbb3a348018081bb2a89439eb3275153105d2e0 (diff)
clearing out old code
Diffstat (limited to 'index.js')
-rw-r--r--index.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/index.js b/index.js
index a23a61a..30ec5dd 100644
--- a/index.js
+++ b/index.js
@@ -12,7 +12,7 @@ var viewConfig = {
var app = okcms.createApp({
- project: 'Studio Susie',
+ project: 'Pepper',
debug: !isProduction,
production: isProduction,
@@ -41,6 +41,7 @@ var app = okcms.createApp({
id: {type: 'string', hidden: true},
title: {type: 'string'},
body: {type: 'text'},
+ image: {type: 'text'},
disabled: {type: 'flag'},
},
},
@@ -52,10 +53,7 @@ var app = okcms.createApp({
views: {
'/': viewConfig,
- '/pictures': viewConfig,
- '/paintings': viewConfig,
'/page/:id': viewConfig,
- '/picture/:id': viewConfig,
'/painting/:id': viewConfig,
},