debian-mirror-gitlab/app/assets/javascripts/lib/utils/cookies.js
2022-07-16 19:58:13 +02:00

8 lines
188 B
JavaScript

import CookiesBuilder from 'js-cookie';
// set default path for cookies
const Cookies = CookiesBuilder.withAttributes({
path: gon.relative_url_root || '/',
});
export default Cookies;