mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
It's working!
This commit is contained in:
parent
c09b8d888f
commit
425feba0e2
@ -160,7 +160,6 @@ export async function post(request: Request) {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
console.log(stack)
|
|
||||||
await execShellAsync(`mkdir -p ${workdir}`);
|
await execShellAsync(`mkdir -p ${workdir}`);
|
||||||
await fs.writeFile(`${workdir}/stack.yml`, yaml.dump(stack));
|
await fs.writeFile(`${workdir}/stack.yml`, yaml.dump(stack));
|
||||||
await execShellAsync(`docker stack rm ${deployId}`);
|
await execShellAsync(`docker stack rm ${deployId}`);
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
});
|
});
|
||||||
toast.push(message);
|
toast.push(message);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
// WHY need to navigate to / to get cookies?!
|
||||||
browser && window.location.replace('/')
|
browser && window.location.replace('/')
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@ -68,7 +69,6 @@
|
|||||||
<Loading fullscreen={false} />
|
<Loading fullscreen={false} />
|
||||||
{:else}
|
{:else}
|
||||||
<div class="text-center py-10 max-w-7xl">
|
<div class="text-center py-10 max-w-7xl">
|
||||||
{$session.isLoggedIn}
|
|
||||||
{#if !$session.isLoggedIn}
|
{#if !$session.isLoggedIn}
|
||||||
{#if $settings.clientId}
|
{#if $settings.clientId}
|
||||||
<button
|
<button
|
||||||
|
Loading…
Reference in New Issue
Block a user