mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
Update express.js
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = function(app) {
|
||||
// It can be removed safely
|
||||
app.disable("x-powered-by")
|
||||
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.set('view engine', 'ejs')
|
||||
app.set('views', './')
|
||||
|
||||
Reference in New Issue
Block a user