Fix the allowed extensions for uploading .env files

Remove the file extension restriction because it can be named anything
including .env.local, .env.production, etc.
This commit is contained in:
Steven Nguyen authored and Steven Nguyen committed 2023-12-21 19:58:26 +00:00
1 parent 6bf696aeb3
commit 02df554157
1 file changed
+1 -1
@@ -85,7 +85,7 @@
{/if}
</div>
<InputFile bind:files allowedFileExtensions={['.env']} />
<InputFile bind:files />
<svelte:fragment slot="footer">
<Button text on:click={() => (show = false)}>Cancel</Button>