mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Fix relative path
This commit is contained in:
parent
17d2b3e094
commit
cdeb772545
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -40,7 +40,7 @@ import staticRoute from './routes/static.js'
|
|||
import utilRoute from './routes/util.js'
|
||||
|
||||
const app = express()
|
||||
const packageData = JSON.parse(readFileSync('package.json'))
|
||||
const packageData = JSON.parse(readFileSync('./package.json'))
|
||||
|
||||
app.set('env', process.env.NODE_ENV || "production")
|
||||
app.engine('pug', pug.__express).set('view engine', 'pug')
|
||||
|
|
Loading…
Reference in a new issue