relative link to websocket did not work for some reason, reverted back to /.... link
This commit is contained in:
parent
830594740b
commit
4f6d9c209d
6
Makefile
6
Makefile
@ -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
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user