Skip to content

Commit e583d90

Browse files
committed
fix: dismiss path-based server matching review comment
Rocket.Chat servers are always identified by host, not subpaths. Revert to origin-based matching and keep getHost for the server tag.
1 parent d52b332 commit e583d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const getHost = (url: string): string => {
6363
};
6464

6565
/**
66-
* Register a webContentsId with a server URL (stores host).
66+
* Register a webContentsId with a server URL (stores server tag).
6767
*/
6868
export const registerWebContentsServer = (
6969
webContentsId: number,

0 commit comments

Comments
 (0)