quick ui cleanup removed admin buttons from the public front and changed readme and renamed the .env to avoid collisions on live server
This commit is contained in:
parent
32dbd476f8
commit
8cd8ee92a4
4 changed files with 4 additions and 19 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
```
|
```
|
||||||
- Change `JWT_SECRET` and `ADMIN_PASSWORD` before production use.
|
- Change `JWT_SECRET` and `ADMIN_PASSWORD` before production use.
|
||||||
- Keep `JWT_COOKIE_SECURE=false` and `ENABLE_HTTPS_REDIRECT=false` unless you run behind HTTPS.
|
- 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:
|
2. Start the stack:
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -141,14 +141,5 @@
|
||||||
Inga turneringar är publicerade ännu. Kom tillbaka senare!
|
Inga turneringar är publicerade ännu. Kom tillbaka senare!
|
||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="text-center">
|
|
||||||
<a
|
|
||||||
href="/admin"
|
|
||||||
class="inline-flex items-center justify-center rounded-full bg-indigo-500 px-6 py-3 text-sm font-semibold tracking-wide text-white uppercase transition hover:bg-indigo-600"
|
|
||||||
>
|
|
||||||
Till admin
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -624,12 +624,6 @@
|
||||||
|
|
||||||
<footer class="mt-auto flex items-center justify-between text-xs text-slate-500">
|
<footer class="mt-auto flex items-center justify-between text-xs text-slate-500">
|
||||||
<p>Senast uppdaterad {formatDateTime(tournament.updated_at) ?? tournament.updated_at}</p>
|
<p>Senast uppdaterad {formatDateTime(tournament.updated_at) ?? tournament.updated_at}</p>
|
||||||
<a
|
|
||||||
href="/admin/tournament"
|
|
||||||
class="rounded-full border border-indigo-300 px-4 py-2 font-semibold text-indigo-300 transition hover:border-indigo-400 hover:bg-indigo-50/5"
|
|
||||||
>
|
|
||||||
Administrera
|
|
||||||
</a>
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue