mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 01:07:42 -05:00
Update express.js
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = function(app) {
|
|||||||
// It can be removed safely
|
// It can be removed safely
|
||||||
app.disable("x-powered-by")
|
app.disable("x-powered-by")
|
||||||
app.enable('trust proxy')
|
app.enable('trust proxy')
|
||||||
app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')))
|
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')))
|
||||||
app.use(express.static(path.join(process.cwd(), 'public')));
|
app.use(express.static(path.join(process.cwd(), 'public')));
|
||||||
app.set('view engine', 'ejs')
|
app.set('view engine', 'ejs')
|
||||||
app.set('views', './')
|
app.set('views', './')
|
||||||
|
|||||||
Reference in New Issue
Block a user