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

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;