bugfix
Some checks failed
release-tag / release-image (push) Failing after 56s
build-binaries / build (, amd64, linux) (push) Has been skipped
build-binaries / build (, arm, 7, linux) (push) Has been skipped
build-binaries / build (, arm64, linux) (push) Has been skipped
build-binaries / build (.exe, amd64, windows) (push) Has been skipped
build-binaries / release (push) Has been skipped

This commit is contained in:
2025-09-07 12:21:37 +02:00
parent 98c69dfc7d
commit a324d24b72
2 changed files with 7 additions and 48 deletions

View File

@@ -3,54 +3,13 @@
"rooms": { "rooms": {
"default": [ "default": [
{ {
"id": "20250906T094234.159189600Z-51dab5cf1cc000fb", "id": "20250906T230610.920156600Z-9cb85e5bffcf0eef",
"room": "default", "room": "default",
"type": "text", "type": "text",
"content": "^9rhME!\u003e-Q#6k969og^d", "content": "2ao+A?7=Tbp,t*7$3Yo9",
"created_at": "2025-09-06T09:42:34.1591896Z" "created_at": "2025-09-06T23:06:10.9201566Z"
},
{
"id": "20250906T094239.420737500Z-3884c4d0cb8a9ac4",
"room": "default",
"type": "text",
"content": "f,u6g-r8E2:gNTu/w)b)",
"created_at": "2025-09-06T09:42:39.4207375Z"
},
{
"id": "20250906T094240.237113600Z-0a9fe15a381b458f",
"room": "default",
"type": "text",
"content": "nyG\u003eC2eq[M4RP2;+u9Tz",
"created_at": "2025-09-06T09:42:40.2371136Z"
},
{
"id": "20250906T094241.057489000Z-544852c456ff133e",
"room": "default",
"type": "text",
"content": ".kC49}YqE7P~P5i7dadk",
"created_at": "2025-09-06T09:42:41.057489Z"
},
{
"id": "20250906T142832.444200200Z-5cbf503227067e52",
"room": "default",
"type": "text",
"content": "n?x2Pr!d929FK9!7Ls5L",
"created_at": "2025-09-06T14:28:32.4442002Z"
},
{
"id": "20250906T142832.444720600Z-ac6a369b19a2ca3a",
"room": "default",
"type": "text",
"content": "UoT$YvL%eAKh\u0026SG9VS\u0026$",
"created_at": "2025-09-06T14:28:32.4447206Z"
},
{
"id": "20250906T154926.777767300Z-6907b53a7b2cc54d",
"room": "default",
"type": "text",
"content": ",2V=;eEM.i4wG^C?$+6?",
"created_at": "2025-09-06T15:49:26.7777673Z"
} }
] ],
"privat": []
} }
} }

View File

@@ -413,7 +413,7 @@ func makeID() string {
// ---- Router ---- // ---- Router ----
//go:embed web/** //go:embed \/web/**
var embedded embed.FS var embedded embed.FS
func (s *Server) routes() http.Handler { func (s *Server) routes() http.Handler {
@@ -480,7 +480,7 @@ func (s *Server) routes() http.Handler {
mux.HandleFunc("/status", s.handleStatus) mux.HandleFunc("/status", s.handleStatus)
// Static UI // Static UI
sub, _ := fs.Sub(embedded, "/web") sub, _ := fs.Sub(embedded, "web")
mux.Handle("/", http.FileServer(http.FS(sub))) mux.Handle("/", http.FileServer(http.FS(sub)))
return mux return mux