UNPKG

create-react-ssr-layout

Version:

A useful tool to quickly build a starting express server that uses custom SSR with a custom jsx render engine

15 lines (12 loc) 252 B
import jwtConfig from './jwtConfig'; const cookiesConfig = { refresh: { httpOnly: true, maxAge: jwtConfig.refresh.expiresIn, }, access: { httpOnly: true, maxAge: jwtConfig.access.expiresIn, }, }; export default cookiesConfig;