From e4d89506593d0914fceedba20a3e40bf7f3de76f Mon Sep 17 00:00:00 2001 From: mrjvs Date: Tue, 1 Sep 2026 21:33:46 +0200 Subject: [PATCH] fix: Remove deprecated usage of request.host --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index bb0e781..dc8a74d 100644 --- a/src/util.ts +++ b/src/util.ts @@ -78,7 +78,7 @@ export function createServiceToken(server: HydratedServerDocument, options: Serv export function fullUrl(request: express.Request): string { const protocol = request.protocol; - const host = request.host; + const host = request.hostname; const opath = request.originalUrl; return `${protocol}://${host}${opath}`;