fix: Ghost icon, remove console.log

This commit is contained in:
Andras Bacsai 2022-03-27 22:32:31 +02:00
parent d2353e3c35
commit 196d681a63
2 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,6 @@ export const post: RequestHandler = async (event) => {
}
}
};
console.log(JSON.stringify(composeFile.volumes));
const composeFileDestination = `${workdir}/docker-compose.yaml`;
await fs.writeFile(composeFileDestination, yaml.dump(composeFile));

View File

@ -10,6 +10,7 @@
import { goto } from '$app/navigation';
import N8n from '$lib/components/svg/services/N8n.svelte';
import UptimeKuma from '$lib/components/svg/services/UptimeKuma.svelte';
import Ghost from '$lib/components/svg/services/Ghost.svelte';
export let services;
async function newService() {
@ -64,6 +65,8 @@
<N8n isAbsolute />
{:else if service.type === 'uptimekuma'}
<UptimeKuma isAbsolute />
{:else if service.type === 'ghost'}
<Ghost isAbsolute />
{/if}
<div class="font-bold text-xl text-center truncate">
{service.name}