automatic versioning on tags

This commit is contained in:
lowcarbdev
2025-11-22 17:03:01 -07:00
parent 4dcac1fdfb
commit b6d63fc2d2
7 changed files with 56 additions and 20 deletions
+3
View File
@@ -80,6 +80,9 @@ func main() {
return c.String(http.StatusOK, "OK")
})
// Version endpoint (public, no authentication required)
e.GET("/api/version", internal.HandleVersion)
// Serve static files from frontend/dist if it exists (for production/Docker)
if _, err := os.Stat("./frontend/dist"); err == nil {
// Serve static assets (JS, CSS, images, etc.)