- Run
npm installto install dependencies. - Run
npm run correctto start the app at http://localhost:3000 and serve a staticiframe.htmlfile located at/public/iframe.htmlvia http://127.0.0.1:4000. - Open the iframe at http://127.0.0.1:4000.
- Grant storage access by clicking the button inside the iframe.
- You should see the URL from both
window.location.hrefandrequest.url(exposed from the loader) which should be identical. - Reload the page (the URLs should still match).
mrksbnch/sveltekit-storage-access-headers
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|