From 5b05d52886ccc6f1dba8aa3a8ef0bea048bd2752 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 27 Aug 2019 04:49:16 +0200 Subject: [PATCH] Remove url hashes --- scripts/gather.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/gather.ts b/scripts/gather.ts index ea0aac4..d162efe 100644 --- a/scripts/gather.ts +++ b/scripts/gather.ts @@ -28,7 +28,9 @@ return url; }(); function makeURL(url: string) { - return new URL(url, baseURL); + const rv = new URL(url, baseURL); + rv.hash = ""; + return rv; } function sanitize(str: string | null | undefined) {