diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 10:52:50 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 10:52:50 -0800 |
| commit | 5e24550cacd0f80ea4ec62dab873e747b2ae86b7 (patch) | |
| tree | c2666291bb48eb930e0254de8cde2c7108be7f79 /web/dist/v2/index.html | |
| parent | 419d84d2a8e84d028b145df57d1584a3fe163b37 (diff) | |
| download | neko-5e24550cacd0f80ea4ec62dab873e747b2ae86b7.tar.gz neko-5e24550cacd0f80ea4ec62dab873e747b2ae86b7.tar.bz2 neko-5e24550cacd0f80ea4ec62dab873e747b2ae86b7.zip | |
fix: CSRF cookie configuration for local network access\n\n- Changed SameSite from Lax to None to allow cookie access across localhost/IP variations\n- Added Secure=false for local development (should be true in production with HTTPS)\n- Added credentials:'include' to all fetch requests to ensure cookies are sent\n- Updated tests to expect credentials parameter in fetch calls\n\nThis fixes the 403 Forbidden error when accessing from LAN IPs like 192.168.x.x
Diffstat (limited to 'web/dist/v2/index.html')
| -rw-r--r-- | web/dist/v2/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/dist/v2/index.html b/web/dist/v2/index.html index 4890325..ae64de6 100644 --- a/web/dist/v2/index.html +++ b/web/dist/v2/index.html @@ -5,8 +5,8 @@ <link rel="icon" type="image/svg+xml" href="/v2/vite.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Neko Reader</title> - <script type="module" crossorigin src="/v2/assets/index-CPhBQF8z.js"></script> - <link rel="stylesheet" crossorigin href="/v2/assets/index-BrdQ2q6o.css"> + <script type="module" crossorigin src="/v2/assets/index-DBCtetq0.js"></script> + <link rel="stylesheet" crossorigin href="/v2/assets/index-T17-XcXh.css"> </head> <body> <div id="root"></div> |
