diff --git a/web/templates/race_manage.templ b/web/templates/race_manage.templ
index 821ad98..6fd0a5b 100644
--- a/web/templates/race_manage.templ
+++ b/web/templates/race_manage.templ
@@ -147,7 +147,7 @@ templ RaceManage(groups []models.Group, currentGroup models.Group, heats []model
// WebSocket connections
const timerSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/ws/timer`);
const adminSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/ws/admin`);
- const eventsSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/ws/events`);
+ const eventsSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/events`);
const timerDisplay = document.getElementById('timer');
const statusIndicator = document.getElementById('status-indicator');
diff --git a/web/templates/race_manage_templ.go b/web/templates/race_manage_templ.go
index 82c2566..a7c8786 100644
--- a/web/templates/race_manage_templ.go
+++ b/web/templates/race_manage_templ.go
@@ -238,7 +238,7 @@ func RaceManage(groups []models.Group, currentGroup models.Group, heats []models
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
diff --git a/web/templates/race_public.templ b/web/templates/race_public.templ
index 2e5fd49..f9d6e14 100644
--- a/web/templates/race_public.templ
+++ b/web/templates/race_public.templ
@@ -110,7 +110,7 @@ templ RacePublic(currentGroup models.Group, heats []models.Heat, racers []models
};
// Events WebSocket for race events
- const eventsSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/ws/events`);
+ const eventsSocket = new WebSocket(`${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/events`);
eventsSocket.onmessage = function(event) {
const data = JSON.parse(event.data);
diff --git a/web/templates/race_public_templ.go b/web/templates/race_public_templ.go
index d3957b6..7101424 100644
--- a/web/templates/race_public_templ.go
+++ b/web/templates/race_public_templ.go
@@ -125,7 +125,7 @@ func RacePublic(currentGroup models.Group, heats []models.Heat, racers []models.
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}