Fix cookie scope
This commit is contained in:
parent
3debbf35c2
commit
1a52c71ae2
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue