Skip to content

Commit df19d4e

Browse files
committed
fix: save absolute url in localStorage
1 parent 733714c commit df19d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/storage.utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const saveBlob = (store) => {
3535
id: Date.now(),
3636
name: generateName({ words: 2 }).spaced,
3737
// eslint-disable-next-line no-restricted-globals
38-
url: `/${location.search}`,
38+
url: location.href,
3939
};
4040
const allBlobs = getAllBlobs();
4141
const blobs = [...(allBlobs || []), newData];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy