diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-09-08 19:59:41 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-09-08 19:59:41 -0400 |
| commit | 50fac2191fbf0dd101d6071242c03dfad295b3ed (patch) | |
| tree | 2624310093338b64faf8e9e946d11be21afd5a63 /examples/index.js | |
| parent | b938e3d1d2d108b887c9624249ee7021cfd83a1f (diff) | |
makin okcms okadminview frontend lib workv0.1.41
Diffstat (limited to 'examples/index.js')
| -rw-r--r-- | examples/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/index.js b/examples/index.js index f1fabfa..a4f3ac3 100644 --- a/examples/index.js +++ b/examples/index.js @@ -2,6 +2,7 @@ var okcms = require('..'); var isProduction = process.env.OK_PRODUCTION === 'true' var port = process.env.PORT || 1337; +var path = require('path') var app = okcms.createApp({ @@ -11,6 +12,8 @@ var app = okcms.createApp({ production: isProduction, admin: { + root: path.join(__dirname, '../themes/okcards/public'), + templateRoot: path.join(__dirname, '../themes/okcards/templates'), dashboard: { resources: { card: { |
