From 8adf98994a873e8a04a8d469fd694e9fcd4fa841 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 23 May 2026 21:35:51 +0200 Subject: Move to /api/version The old /version endpoint was moved. It should be part of the API and it is intended that everything not part of /api/* is a static web site which is also served by the Go server. --- handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index 28219e8..08486bf 100644 --- a/handlers.go +++ b/handlers.go @@ -6,7 +6,7 @@ import ( ) func init() { - router.HandleFunc("/version", version) + router.HandleFunc("/api/version", version) } func version(w http.ResponseWriter, r *http.Request) { -- cgit v1.3