add router
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import { createCookieSessionStorage } from 'react-router'
|
||||
|
||||
const { getSession, commitSession, destroySession } =
|
||||
createCookieSessionStorage({
|
||||
cookie: {
|
||||
name: 'session_id',
|
||||
httpOnly: true,
|
||||
secure: true
|
||||
}
|
||||
})
|
||||
|
||||
export { getSession, commitSession, destroySession }
|
||||
Reference in New Issue
Block a user