From 1aefa0efb3986c44bc5faaf6e0765580cdaeb564 Mon Sep 17 00:00:00 2001 From: alannnc Date: Thu, 8 Sep 2022 11:50:21 -0600 Subject: [PATCH] fix cookie name (#4295) --- apps/web/pages/apps/installed.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/web/pages/apps/installed.tsx b/apps/web/pages/apps/installed.tsx index faf0f42286..68e62afb34 100644 --- a/apps/web/pages/apps/installed.tsx +++ b/apps/web/pages/apps/installed.tsx @@ -147,10 +147,7 @@ export async function getServerSideProps(ctx: AppGetServerSidePropsContext) { if (cookies && cookies["return-to"]) { const returnTo = cookies["return-to"]; if (returnTo) { - ctx.res.setHeader( - "Set-Cookie", - "returnToGettingStarted=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT" - ); + ctx.res.setHeader("Set-Cookie", "return-to=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"); return { redirect: { destination: `${returnTo}`,