Files
lenz-web/controllers/index.go
2025-04-01 18:07:57 +02:00

13 lines
212 B
Go

package controllers
import (
"github.com/gofiber/fiber/v2"
"strconv"
)
const DEFAULT_YEAR = 1765
func GetIndex(c *fiber.Ctx) error {
return c.Redirect(LETTERS_URL + "?year=" + strconv.Itoa(DEFAULT_YEAR))
}