mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-11 13:47:05 +02:00
Fix Dockerfile to include language files
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user