gitlab-org--gitlab-foss/app/assets/javascripts/lib/utils/cookies.js

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;