mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-06 22:13:04 +00:00
Fix the previous fix
This commit is contained in:
1 parent
4e3a24e609
commit
cd574c87ef
1 file changed
+3
@@ -20,7 +20,10 @@ const subdomain = allowedSubdomains => {
|
||||
const actual_subdomain = require('../helpers').subdomain(req);
|
||||
if ( ! allowedSubdomains.includes(actual_subdomain) ) {
|
||||
next('route');
|
||||
return;
|
||||
}
|
||||
|
||||
next();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user