diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/app/.server/session.ts | 5 | ||||
| -rw-r--r-- | frontend/app/root.tsx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/frontend/app/.server/session.ts b/frontend/app/.server/session.ts index 102bcd2..4730305 100644 --- a/frontend/app/.server/session.ts +++ b/frontend/app/.server/session.ts @@ -4,9 +4,8 @@ export const cookieOptions = { sameSite: "lax" as const, path: "/", httpOnly: true, - // secure: process.env.NODE_ENV === "production", - secure: false, // TODO - secrets: ["TODO"], + secure: process.env.NODE_ENV === "production", + secrets: [process.env.ALBATROSS_COOKIE_SECRET ?? "local"], }; export const sessionStorage = createCookieSessionStorage({ diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx index 57f1a10..054474a 100644 --- a/frontend/app/root.tsx +++ b/frontend/app/root.tsx @@ -9,7 +9,7 @@ import { import "./tailwind.css"; export const links: LinksFunction = () => [ - { rel: "icon", href: "/favicon.svg" }, + { rel: "icon", href: "/iosdc-japan/2024/code-battle/favicon.svg" }, ]; export function Layout({ children }: { children: React.ReactNode }) { |
