Skip to content

Commit d96f924

Browse files
committed
fix: type error in puter-site
1 parent 85c6798 commit d96f924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/routers/hosting/puter-site.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class PuterSiteMiddleware extends AdvancedBase {
117117
}
118118

119119
if ( ! subdomain_root_path || subdomain_root_path === '/' ) {
120-
throw new APIError.create('forbidden');
120+
throw APIError.create('forbidden');
121121
}
122122

123123
const filepath = subdomain_root_path + decodeURIComponent(

0 commit comments

Comments
 (0)