fix canonical url
This commit is contained in:
1 parent
fb69b2710f
commit
50e8530e96
5 files changed
+69
-11
No files matched your search
@@ -14,7 +14,9 @@ export async function runServer() {
|
||||
await initDatabase()
|
||||
|
||||
const app = express()
|
||||
app.use(morgan('common'))
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
app.use(morgan('common'))
|
||||
}
|
||||
|
||||
const router = express.Router()
|
||||
app.use('/api', router)
|
||||
|
||||
Reference in new issue
Block a user