mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Improved layout.
This commit is contained in:
parent
52b185e653
commit
6186c1cc87
6 changed files with 14 additions and 14 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue