Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
avoid "as"
Oleg Isonenb3d10eb61ac0
diff --git a/app/services/session.server.ts b/app/services/session.server.tsindex 423d3c303b..58eb79394c 100644--- a/app/services/session.server.ts+++ b/app/services/session.server.ts@@ -7,7 +7,7 @@ export const sessionStorage = createCookieSessionStorage({sameSite: "lax", // this helps with CSRFpath: "/", // remember to add this so the cookie will work in all routeshttpOnly: true, // for security reasons, make this cookie http only- secrets: [process.env.AUTH_SECRET as string], // replace this with an actual secret+ secrets: [process.env.AUTH_SECRET ?? ""], // replace this with an actual secretsecure: process.env.NODE_ENV === "production", // enable this in prod only},});