mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Fix the previous fix
This commit is contained in:
parent
4e3a24e609
commit
cd574c87ef
@ -20,7 +20,10 @@ const subdomain = allowedSubdomains => {
|
||||
const actual_subdomain = require('../helpers').subdomain(req);
|
||||
if ( ! allowedSubdomains.includes(actual_subdomain) ) {
|
||||
next('route');
|
||||
return;
|
||||
}
|
||||
|
||||
next();
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user