diff --git a/.env b/.env_example similarity index 100% rename from .env rename to .env_example diff --git a/README.md b/README.md index 4e67829..219497b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ``` - Change `JWT_SECRET` and `ADMIN_PASSWORD` before production use. - Keep `JWT_COOKIE_SECURE=false` and `ENABLE_HTTPS_REDIRECT=false` unless you run behind HTTPS. - - Update `CSRF_ALLOWED_ORIGINS` to the host/port you’ll use to access the web app. + - Update `CSRF_ALLOWED_ORIGINS` local network ip/port you will use to host the application on. 2. Start the stack: ```bash diff --git a/web/src/routes/(tournament)/tournament/+page.svelte b/web/src/routes/(tournament)/tournament/+page.svelte index ca3f4ba..8157bc9 100644 --- a/web/src/routes/(tournament)/tournament/+page.svelte +++ b/web/src/routes/(tournament)/tournament/+page.svelte @@ -127,9 +127,9 @@ {/if} -

- Tryck här för att registrera -

+

+ Tryck här för att registrera +

{/each} @@ -141,14 +141,5 @@ Inga turneringar är publicerade ännu. Kom tillbaka senare!

{/if} - -
- - Till admin - -
diff --git a/web/src/routes/(tournament)/tournament/[slug]/+page.svelte b/web/src/routes/(tournament)/tournament/[slug]/+page.svelte index 848a9f5..e5a021a 100644 --- a/web/src/routes/(tournament)/tournament/[slug]/+page.svelte +++ b/web/src/routes/(tournament)/tournament/[slug]/+page.svelte @@ -624,12 +624,6 @@