Fix cookie scope

This commit is contained in:
Florine W. Dekker 2020-06-07 13:01:06 +02:00
parent 3debbf35c2
commit 1a52c71ae2
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "interlanguage-checker",
"version": "1.10.9",
"version": "1.10.10",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -57,7 +57,7 @@ doAfterLoad(async () => {
let mwm = undefined;
const submit = async () => {
Cookies.set("api-url", urlInput.getValue(), {expires: 10 * 365, secure: true, sameSite: "lax"});
Cookies.set("api-url", urlInput.getValue(), {expires: 10 * 365, secure: true, sameSite: "lax", path: ""});
// Clean up
urlInput.showBlank();