π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix(auth): align invite and showorg cookie lifetimes with the token expiry
Gilad Resisib958c5d59197
diff --git a/apps/frontend/src/proxy.ts b/apps/frontend/src/proxy.tsindex 74dcd310d..b2231413b 100644--- a/apps/frontend/src/proxy.ts+++ b/apps/frontend/src/proxy.ts@@ -125,7 +125,7 @@ export async function proxy(request: NextRequest) {domain: getCookieUrlFromDomain(process.env.FRONTEND_URL!),}: {}),- expires: new Date(Date.now() + 15 * 60 * 1000),+ expires: new Date(Date.now() + 2 * 24 * 60 * 60 * 1000),});return redirect;}@@ -155,7 +155,7 @@ export async function proxy(request: NextRequest) {domain: getCookieUrlFromDomain(process.env.FRONTEND_URL!),}: {}),- expires: new Date(Date.now() + 15 * 60 * 1000),+ expires: new Date(Date.now() + 1000 * 60 * 60 * 24 * 365),});}return redirect;