This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/src/cookieSettings.js

8 lines
172 B
JavaScript

const inAYear = new Date();
inAYear.setFullYear(inAYear.getFullYear() + 1);
export default {
// secure: process.env.NODE_ENV === 'production',
expires: inAYear,
}