mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 08:45:16 +02:00
Improved layout.
This commit is contained in:
@@ -35,10 +35,14 @@ module.exports = function(options) {
|
||||
io.set('log level', 1)
|
||||
io.set('browser client', false)
|
||||
|
||||
app.use(express.compress())
|
||||
|
||||
app.use('/static/lib', express.static(pathutil.resource('lib')))
|
||||
app.use('/static', express.static(pathutil.resource('app')))
|
||||
|
||||
app.use(require('./webpack-config'))
|
||||
if (!options.disableWatch) {
|
||||
app.use(require('./webpack-config'))
|
||||
}
|
||||
|
||||
app.use(express.cookieParser(options.secret))
|
||||
app.use(express.cookieSession({
|
||||
|
||||
Reference in New Issue
Block a user