mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-24 22:19:35 -06:00
Fix the previous fix
This commit is contained in:
@@ -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