From 425feba0e2422f9ed29da7b34777f5e9313d62d3 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 22 Jun 2021 12:12:11 +0200 Subject: [PATCH] It's working! --- src/routes/api/v1/services/deploy/wordpress/index.ts | 1 - src/routes/index.svelte | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/routes/api/v1/services/deploy/wordpress/index.ts b/src/routes/api/v1/services/deploy/wordpress/index.ts index e763f0661..02da2fe9a 100644 --- a/src/routes/api/v1/services/deploy/wordpress/index.ts +++ b/src/routes/api/v1/services/deploy/wordpress/index.ts @@ -160,7 +160,6 @@ export async function post(request: Request) { }, }; } - console.log(stack) await execShellAsync(`mkdir -p ${workdir}`); await fs.writeFile(`${workdir}/stack.yml`, yaml.dump(stack)); await execShellAsync(`docker stack rm ${deployId}`); diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 93c4637b4..a77665c83 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -42,6 +42,7 @@ }); toast.push(message); setTimeout(() => { + // WHY need to navigate to / to get cookies?! browser && window.location.replace('/') }, 1000); } catch (error) { @@ -68,7 +69,6 @@ {:else}
- {$session.isLoggedIn} {#if !$session.isLoggedIn} {#if $settings.clientId}