wiki-security-passportjs 0.12.0 → 0.13.0
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/package.json +1 -1
- package/server/social.coffee +1 -1
package/package.json
CHANGED
package/server/social.coffee
CHANGED
|
@@ -418,7 +418,7 @@ module.exports = exports = (log, loga, argv) ->
|
|
|
418
418
|
console.log "argv.allowed_ids exists, but there was an error. Make sure it's value is an array in your config."
|
|
419
419
|
false
|
|
420
420
|
|
|
421
|
-
app.all '*', (req, res, next) ->
|
|
421
|
+
app.all '*splat', (req, res, next) ->
|
|
422
422
|
# don't protect site flag,
|
|
423
423
|
return next() if req.url is '/favicon.png'
|
|
424
424
|
return next() unless /\.(json|html)$/.test req.url
|