From d96f924cad7a13ea6e9084bb0ebb79ecc5fcb8a3 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Tue, 18 Jun 2024 13:03:28 -0400 Subject: [PATCH] fix: type error in puter-site --- packages/backend/src/routers/hosting/puter-site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(