feat: Random domain for services
This commit is contained in:
parent
bb32d0f7d1
commit
15cbac97c2
@ -37,10 +37,16 @@
|
||||
import Services from './_Services/_Services.svelte';
|
||||
import { getDomain } from '$lib/components/common';
|
||||
import VaultWarden from '$lib/components/svg/services/VaultWarden.svelte';
|
||||
import cuid from 'cuid';
|
||||
import { browser } from '$app/env';
|
||||
|
||||
export let service;
|
||||
export let isRunning;
|
||||
export let readOnly;
|
||||
|
||||
if (browser && window.location.hostname === 'demo.coolify.io') {
|
||||
service.fqdn = `${cuid()}.demo.coolify.io`;
|
||||
}
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
Loading…
x
Reference in New Issue
Block a user