Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: bots without exposed ports

Andras Bacsai8dd80589d6df
diff --git a/apps/ui/src/lib/store.ts b/apps/ui/src/lib/store.ts
index 7c851b96a2..f098720305 100644
--- a/apps/ui/src/lib/store.ts
+++ b/apps/ui/src/lib/store.ts
@@ -90,7 +90,7 @@ export const setLocation = (resource: any, settings?: any) => {
return location.set(resource.fqdn)
} else {
location.set(null);
- disabledButton.set(true);
+ disabledButton.set(false);
}
}
diff --git a/apps/ui/src/routes/applications/[id]/__layout.svelte b/apps/ui/src/routes/applications/[id]/__layout.svelte
index a0d3840794..c40f664390 100644
--- a/apps/ui/src/routes/applications/[id]/__layout.svelte
+++ b/apps/ui/src/routes/applications/[id]/__layout.svelte
@@ -178,9 +178,10 @@
<polyline points="15 4 20 4 20 9" />
</svg></a
>
+ <div class="border border-coolgray-500 h-8" />
+
{/if}
- <div class="border border-coolgray-500 h-8" />
{#if $status.application.isExited}
<a
href={!$disabledButton ? `/applications/${id}/logs` : null}
diff --git a/apps/ui/src/routes/applications/[id]/index.svelte b/apps/ui/src/routes/applications/[id]/index.svelte
index 020ea103ff..9ef2e5612f 100644
--- a/apps/ui/src/routes/applications/[id]/index.svelte
+++ b/apps/ui/src/routes/applications/[id]/index.svelte
@@ -494,7 +494,7 @@
bind:setting={isBot}
on:click={() => changeSettings('isBot')}
title="Is your application a bot?"
- description="You can deploy applications without domains. <br>They will listen on <span class='text-green-500 font-bold'>IP:EXPOSEDPORT</span> instead.<br></Setting><br>Useful to host <span class='text-green-500 font-bold'>Twitch bots.</span>"
+ description="You can deploy applications without domains. <br>You can also make them to listen on <span class='text-green-500 font-bold'>IP:EXPOSEDPORT</span> as well.<br></Setting><br>Useful to host <span class='text-green-500 font-bold'>Twitch bots, regular jobs, or anything that does not require an incoming connection.</span>"
disabled={$status.application.isRunning}
/>
</div>
@@ -644,7 +644,6 @@
name="exposePort"
id="exposePort"
bind:value={application.exposePort}
- required={isBot}
placeholder="12345"
/>
<Explainer