wiki-server 0.24.2 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/server.coffee +2 -3
- package/package.json +1 -1
package/lib/server.coffee
CHANGED
|
@@ -188,9 +188,8 @@ module.exports = exports = (argv) ->
|
|
|
188
188
|
|
|
189
189
|
# use logger, at least in development, probably needs a param to configure (or turn off).
|
|
190
190
|
# use stream to direct to somewhere other than stdout.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
return wikiName)
|
|
191
|
+
logger.token('vhost', (req, res) ->
|
|
192
|
+
return req.hostname)
|
|
194
193
|
app.use(logger(':vhost :method :url :status :res[content-length] - :response-time ms'))
|
|
195
194
|
app.use(cookieParser())
|
|
196
195
|
app.use(bodyParser.json({ limit: argv.uploadLimit}))
|