mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Sorting files in stuff, ignoring auth for acme-challange
This commit is contained in:
parent
fe8503a43e
commit
79635f27b4
7 changed files with 13 additions and 8 deletions
|
@ -27,7 +27,7 @@ module.exports = function (options) {
|
|||
})
|
||||
|
||||
// FIXME Allowing all urls with _next in it, but not in params
|
||||
if (req.url.split('?')[0].includes('_next')) {
|
||||
if (req.url.split('?')[0].includes('_next') || req.url.split('?')[0].includes('well-known/acme-challenge')) {
|
||||
req.session = { isException: true }
|
||||
next()
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue