Browse Source

fix: type error in puter-site

KernelDeimos 11 months ago
parent
commit
d96f924cad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/backend/src/routers/hosting/puter-site.js

+ 1 - 1
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(