diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-25 18:05:37 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-25 18:05:37 -0400 |
| commit | ed083ad3191a5d7d61abb21fa7dafec5121ecaab (patch) | |
| tree | 46f73a62a8c8115d900221ae1b9fca7d4e662030 /bucky/app/index.js | |
| parent | 3aa171fbaf05d0ee5b82673443da51ed43719475 (diff) | |
post comment
Diffstat (limited to 'bucky/app/index.js')
| -rw-r--r-- | bucky/app/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bucky/app/index.js b/bucky/app/index.js index ad97526..d06b018 100644 --- a/bucky/app/index.js +++ b/bucky/app/index.js @@ -23,8 +23,8 @@ site.init = function(){ app = express() app.set('port', 5000) app.set('view engine', 'ejs') - app.set('views', path.join(__dirname, '../views')) - app.use(express.static(path.join(__dirname, '../public'))) + app.set('views', path.join(__dirname, '../../views')) + app.use(express.static(path.join(__dirname, '../../public'))) app.use(bodyParser.json()) app.use(bodyParser.urlencoded({ extended: false })) app.use( multer({ dest:'./uploads/' }).single("file") ) |
