add subdomain middleware for extensions

This commit is contained in:
jelveh
2025-07-18 20:54:26 -07:00
parent b8ffc1ada0
commit 1b1517d570

View File

@@ -63,6 +63,7 @@ class ExtensionServiceState extends AdvancedBase {
mw,
route: path,
handler: handler,
...(options.subdomain ? { subdomain: options.subdomain } : {}),
});
this.endpoints_.push(endpoint);