mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
fix: type error in puter-site
This commit is contained in:
parent
85c6798448
commit
d96f924cad
@ -117,7 +117,7 @@ class PuterSiteMiddleware extends AdvancedBase {
|
||||
}
|
||||
|
||||
if ( ! subdomain_root_path || subdomain_root_path === '/' ) {
|
||||
throw new APIError.create('forbidden');
|
||||
throw APIError.create('forbidden');
|
||||
}
|
||||
|
||||
const filepath = subdomain_root_path + decodeURIComponent(
|
||||
|
Loading…
Reference in New Issue
Block a user