-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Feature RequestRequest to add a new featureRequest to add a new featureTriageIssue needs to be triagedIssue needs to be triaged
Description
When hosting Blazor Wasm on Github Pages, all my repositories have the same origin. So localStorage items are shared among all my repositories.
So, I want an option to prefix every key with the current location.pathname
Workaround is to patch JS methods like in this example:
https://github.com/TomasHubelbauer/github-pages-local-storage/blob/main/index.js
localStorage.constructor.prototype.getItem = (key) => getItem.apply(localStorage, [location.pathname + ':' + key]);
Or manually add prefixes to all method calls.
Metadata
Metadata
Assignees
Labels
Feature RequestRequest to add a new featureRequest to add a new featureTriageIssue needs to be triagedIssue needs to be triaged