From 8cd8ee92a4b2961b6b9aeec19110d4e8cb2ea622 Mon Sep 17 00:00:00 2001
From: Sebastian
Date: Sun, 19 Oct 2025 18:25:40 +0200
Subject: [PATCH] quick ui cleanup removed admin buttons from the public front
and changed readme and renamed the .env to avoid collisions on live server
---
.env => .env_example | 0
README.md | 2 +-
.../routes/(tournament)/tournament/+page.svelte | 15 +++------------
.../(tournament)/tournament/[slug]/+page.svelte | 6 ------
4 files changed, 4 insertions(+), 19 deletions(-)
rename .env => .env_example (100%)
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!