fix: bots

This commit is contained in:
Andras Bacsai
2022-08-17 10:18:38 +02:00
parent bac55cd90d
commit 1bd08cb2db
2 changed files with 10 additions and 3 deletions

View File

@@ -134,6 +134,7 @@
}
if (name === 'isBot') {
isBot = !isBot;
application.settings.isBot = isBot;
setLocation(application, settings);
}
try {
@@ -486,7 +487,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:PORT</span> instead.<br></Setting><br>Useful for <span class='text-green-500 font-bold'>example bots.</span>"
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>"
/>
</div>
{#if !isBot}