mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 10:41:56 +10:00
fixes #2151, apply secure cookie session only if using SSL (https)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { CookieOptions } from "express";
|
||||
import type { CookieOptions } from "express";
|
||||
|
||||
export const getCookieOptions = (grantType: "access" | "refresh"): CookieOptions => {
|
||||
// Options For Access Token
|
||||
|
||||
Reference in New Issue
Block a user