mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-28 16:55:32 +00:00
13 lines
212 B
Go
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))
|
|
}
|