diff --git a/packages/backend/src/routers/hosting/puter-site.js b/packages/backend/src/routers/hosting/puter-site.js index fab6ba45..f4e57fbd 100644 --- a/packages/backend/src/routers/hosting/puter-site.js +++ b/packages/backend/src/routers/hosting/puter-site.js @@ -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(