debian-mirror-gitlab/app/assets/javascripts/lib/utils/cookies.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
188 B
JavaScript
Raw Normal View History

2022-07-16 23:28:13 +05:30
import CookiesBuilder from 'js-cookie';
// set default path for cookies
const Cookies = CookiesBuilder.withAttributes({
path: gon.relative_url_root || '/',
});
export default Cookies;