mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-03 07:48:46 +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 === '/' ) {
|
if ( ! subdomain_root_path || subdomain_root_path === '/' ) {
|
||||||
throw new APIError.create('forbidden');
|
throw APIError.create('forbidden');
|
||||||
}
|
}
|
||||||
|
|
||||||
const filepath = subdomain_root_path + decodeURIComponent(
|
const filepath = subdomain_root_path + decodeURIComponent(
|
||||||
|
Loading…
Reference in New Issue
Block a user