diff --git a/src/client/location.ts b/src/client/location.ts index ca207fd..c4154b8 100644 --- a/src/client/location.ts +++ b/src/client/location.ts @@ -11,7 +11,7 @@ function createLocation() { return loc; } -export const locationProxy = new Proxy(window.location, { +export const locationProxy = new Proxy({}, { get(target, prop) { const loc = createLocation();