mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-30 17:50:00 -06:00
add subdomain middleware for extensions
This commit is contained in:
@@ -63,6 +63,7 @@ class ExtensionServiceState extends AdvancedBase {
|
||||
mw,
|
||||
route: path,
|
||||
handler: handler,
|
||||
...(options.subdomain ? { subdomain: options.subdomain } : {}),
|
||||
});
|
||||
|
||||
this.endpoints_.push(endpoint);
|
||||
|
||||
Reference in New Issue
Block a user