Commit bc6d4b52 authored by Robert Speicher's avatar Robert Speicher

Revert "Merge branch 'rs-toggle-canary-next-compat' into 'master'"

This reverts commit 05a72a43, reversing
changes made to f1ce3db2.
parent 36317932
......@@ -173,12 +173,7 @@ export default class Shortcuts {
e.preventDefault();
const canaryCookieName = 'gitlab_canary';
const currentValue = parseBoolean(getCookie(canaryCookieName));
setCookie(canaryCookieName, (!currentValue).toString(), {
expires: 365,
path: '/',
// next.gitlab.com uses a leading period. See https://gitlab.com/gitlab-org/gitlab/-/issues/350186
domain: `.${window.location.hostname}`,
});
setCookie(canaryCookieName, (!currentValue).toString(), { expires: 365, path: '/' });
refreshCurrentPage();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment