From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- node_modules/swup/src/helpers/getCurrentUrl.ts | 4 ---- 1 file changed, 4 deletions(-) delete mode 100755 node_modules/swup/src/helpers/getCurrentUrl.ts (limited to 'node_modules/swup/src/helpers/getCurrentUrl.ts') diff --git a/node_modules/swup/src/helpers/getCurrentUrl.ts b/node_modules/swup/src/helpers/getCurrentUrl.ts deleted file mode 100755 index ab0f0d57..00000000 --- a/node_modules/swup/src/helpers/getCurrentUrl.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** Get the current page URL: path name + query params. Optionally including hash. */ -export const getCurrentUrl = ({ hash }: { hash?: boolean } = {}): string => { - return window.location.pathname + window.location.search + (hash ? window.location.hash : ''); -}; -- cgit v1.2.3