fix canonical url

This commit is contained in:
polv committed 2020-12-17 18:51:26 +07:00
1 parent fb69b2710f
commit 50e8530e96
5 files changed
+69 -11

No files matched your search

+3 -1
View File
@@ -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)