Skip to content

Commit 1b1517d

Browse files
committed
add subdomain middleware for extensions
1 parent b8ffc1a commit 1b1517d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/src/ExtensionService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class ExtensionServiceState extends AdvancedBase {
6363
mw,
6464
route: path,
6565
handler: handler,
66+
...(options.subdomain ? { subdomain: options.subdomain } : {}),
6667
});
6768

6869
this.endpoints_.push(endpoint);

0 commit comments

Comments
 (0)