fix: logout inserting html into page
This commit is contained in:
@@ -22,16 +22,11 @@
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<!-- Place favicon.ico in the root directory -->
|
||||
</head>
|
||||
<body
|
||||
class="flex flex-col h-screen"
|
||||
>
|
||||
<nav class="bg-yellow-200 flex-none h-14">
|
||||
{{if .Header.Title}} Room name: "{{.Header.Title}}"{{end}}
|
||||
<button
|
||||
class="bg-white border-2 rounded py-1 px-2"
|
||||
hx-get="/logout"
|
||||
>Logout</button>
|
||||
</nav>
|
||||
<body class="flex flex-col h-screen" hx-boost="true">
|
||||
<nav class="bg-yellow-200 flex-none h-14">
|
||||
{{if .Header.Title}} Room name: "{{.Header.Title}}"{{end}}
|
||||
<a class="bg-white border-2 rounded py-1 px-2" href="/logout">Logout</a>
|
||||
</nav>
|
||||
<!--[if lt IE 8]>
|
||||
<p class="browserupgrade">
|
||||
You are using an <strong>outdated</strong> browser. Please
|
||||
|
||||
Reference in New Issue
Block a user