refactor: index page route separated

This commit is contained in:
efim
2023-11-05 05:00:01 +00:00
parent 83c634c2b9
commit 648d3dff80
4 changed files with 52 additions and 13 deletions

View File

@@ -31,6 +31,10 @@
<h1>Hello</h1>
<p>This is index</p>
<p>Your session is {{ . }}</p>
<p>Your session is {{ .SessionStringToken }}</p>
<p>Some string is {{ .SomeString }}</p>
<a href="/room/{{ .SessionToken.RoomId }}"
class="text-blue-700 underline"
>You've logged into a room {{ .SessionToken.RoomId }}</a>
</body>
</html>