mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Add trailing slashes to advertised WebSocket URL.
This commit is contained in:
@@ -22,7 +22,7 @@ export class WebSocketAdvertiser extends HttpHandler {
|
||||
if (socketUrl.hostname !== hostname) {
|
||||
throw new Error(`Invalid hostname: ${hostname}`);
|
||||
}
|
||||
this.socketUrl = socketUrl.href.slice(0, -1);
|
||||
this.socketUrl = socketUrl.href;
|
||||
}
|
||||
|
||||
public async handle({ response }: { response: HttpResponse }): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user