diff options
| author | Fuwn <[email protected]> | 2026-05-21 13:44:59 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-21 13:44:59 +0000 |
| commit | d9244d6f3cef8d6d7cba9b00fce2b25621742616 (patch) | |
| tree | 1a8e5d6e18e05e2159e5dc2fa76d1f3ba28f7ddb /src/lib/List/Anime/DueAnimeList.svelte | |
| parent | feat(debug): add dry-run mutations mode (diff) | |
| download | due.moe-d9244d6f3cef8d6d7cba9b00fce2b25621742616.tar.xz due.moe-d9244d6f3cef8d6d7cba9b00fce2b25621742616.zip | |
fetch() defaults a string body to text/plain, which SvelteKit's
csrf_check_origin treats as a form submission. Behind portless's
HTTPS-to-HTTP dev proxy the Origin scheme mismatches url.origin
and the requests 403'd. Declaring application/json is correct for
the body and bypasses the form-content-type check.
Diffstat (limited to 'src/lib/List/Anime/DueAnimeList.svelte')
0 files changed, 0 insertions, 0 deletions