relative link to websocket did not work for some reason, reverted back to /.... link

This commit is contained in:
Erik Brakkee 2024-08-03 08:46:16 +02:00
parent 21463a5cad
commit 7b9d1cb1b2
2 changed files with 7 additions and 1 deletions

View File

@ -25,3 +25,9 @@ clean:
rm -rf bin rm -rf bin
all: build buildwin all: build buildwin
image:
docker compose build
push: image
docker compose push

View File

@ -9,7 +9,7 @@ import (
templ Sessions(state *models.State, loc *time.Location) { templ Sessions(state *models.State, loc *time.Location) {
<div hx-ext="ws" ws-connect="../ws/sessions"> <div hx-ext="ws" ws-connect="/ws/sessions">
<h1>sessions</h1> <h1>sessions</h1>
<div id="status"> <div id="status">