remove some empty lines
This commit is contained in:
parent
02a2e37dcd
commit
07e1c76246
1 changed files with 0 additions and 4 deletions
4
index.js
4
index.js
|
@ -1,10 +1,7 @@
|
||||||
|
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
const app = express()
|
const app = express()
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
||||||
app.use('/plugin', require('./plugin'))
|
app.use('/plugin', require('./plugin'))
|
||||||
|
|
||||||
// catch 404 and forward to error handler
|
// catch 404 and forward to error handler
|
||||||
|
@ -12,4 +9,3 @@ const createError = require('http-errors')
|
||||||
app.use(function(req, res, next) { next(createError(404)) })
|
app.use(function(req, res, next) { next(createError(404)) })
|
||||||
|
|
||||||
module.exports = app
|
module.exports = app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue