Fix Dockerfile to include language files

This commit is contained in:
2025-02-26 20:40:31 +01:00
parent 2be263a4ff
commit 9a66d2c87a
3 changed files with 5 additions and 5 deletions

View File

@@ -22,9 +22,6 @@ import (
// RegisterRoutes sets up the routes for the Fail2ban UI.
func RegisterRoutes(r *gin.Engine) {
// Serve static files for locales from the "internal/locales" directory.
// (This makes the translation files available under the /locales/ URL.)
r.Static("/locales", "./internal/locales")
// Render the dashboard
r.GET("/", IndexHandler)