fix: Python no wsgi
This commit is contained in:
parent
18f7ab1b95
commit
066f5b25e0
@ -352,11 +352,10 @@
|
|||||||
id="pythonModule"
|
id="pythonModule"
|
||||||
required
|
required
|
||||||
bind:value={application.pythonModule}
|
bind:value={application.pythonModule}
|
||||||
placeholder={application.pythonWSGI?.toLowerCase() !== 'gunicorn'
|
placeholder={application.pythonWSGI?.toLowerCase() !== 'gunicorn' ? 'main.py' : 'main'}
|
||||||
? 'myapp.py'
|
|
||||||
: 'myapp'}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
{#if application.pythonWSGI?.toLowerCase() === 'gunicorn'}
|
||||||
<div class="grid grid-cols-2 items-center">
|
<div class="grid grid-cols-2 items-center">
|
||||||
<label for="pythonVariable" class="text-base font-bold text-stone-100">Variable</label>
|
<label for="pythonVariable" class="text-base font-bold text-stone-100">Variable</label>
|
||||||
<input
|
<input
|
||||||
@ -369,6 +368,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{#if !staticDeployments.includes(application.buildPack)}
|
{#if !staticDeployments.includes(application.buildPack)}
|
||||||
<div class="grid grid-cols-2 items-center">
|
<div class="grid grid-cols-2 items-center">
|
||||||
<label for="port" class="text-base font-bold text-stone-100">Port</label>
|
<label for="port" class="text-base font-bold text-stone-100">Port</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user