fix: type error in puter-site

This commit is contained in:
KernelDeimos 2024-06-18 13:03:28 -04:00
parent 85c6798448
commit d96f924cad

View File

@ -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(