update config

This commit is contained in:
Lachlan Kermode
2020-06-14 18:58:22 +02:00
parent 63c26bdb12
commit 8a91c6af56
13 changed files with 44 additions and 58 deletions

View File

@@ -3,7 +3,6 @@ import express from 'express'
import initialize from './initialize'
import middleware from './middleware'
import api from './api'
// import config from './sheets_config'
import dotenv from 'dotenv'
const hbs = require('express-handlebars')
@@ -41,6 +40,8 @@ initialize(controller => {
})
)
app.use(express.static(__dirname + '/public'))
app.server.listen(process.env.PORT || 4040, () => {
console.log('===========================================')
console.log(`Server running on port ${app.server.address().port}`)