mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-15 06:48:32 +03:00
update config
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user