Browse Source

Integrate express-wkd

main
Yarmo Mackenbach 1 month ago
parent
commit
e313387668
1 changed files with 3 additions and 0 deletions
  1. 3
      index.js

3
index.js

@ -1,4 +1,5 @@
const express = require('express')
const wkd = require('express-wkd')
const app = express()
const fs = require('fs')
const path = require('path')
@ -9,6 +10,8 @@ app.set('env', process.env.NODE_ENV || "production")
app.set('view engine', 'pug')
app.set('port', process.env.PORT || 3000)
app.use(wkd({ domain: 'yarmo.eu' }))
app.use('/', require('./routes/main'))
app.use('/', require('./routes/static'))
app.use('/feed', require('./routes/feed'))

Loading…
Cancel
Save