1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00

Improved layout.

This commit is contained in:
Gunther Brunner 2014-02-19 16:52:26 +09:00
parent 52b185e653
commit 6186c1cc87
6 changed files with 14 additions and 14 deletions

View file

@ -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({