kontor-echo: setup project to show homepage
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / build-and-test (push) Failing after 11s

This commit is contained in:
Thomas Peetz
2026-11-09 17:02:59 +01:00
parent 074abd3c85
commit debdf3d0b0
63 changed files with 2411 additions and 485 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ func main() {
defer stop()
sc := echo.StartConfig{
Address: ":1323",
//Address: fmt.Sprintf(":%d", config.ServerConfig.Server.Port),
Address: ":8400",
GracefulTimeout: 10 * time.Second,
}
if err := sc.Start(ctx, e); err != nil {
-2
View File
@@ -20,7 +20,6 @@ func main() {
}
e := echo.New()
e.GET("/health", handler.GetHealth)
e.POST("/login", handler.Login)
skipper := func(c echo.Context) bool {
@@ -47,7 +46,6 @@ func main() {
group := e.Group("/api")
group.Use(echojwt.WithConfig(echojwt.Config{SigningKey: []byte("secret")}))
handler.SetupComicRoutes(group)
handler.SetupMediaRoutes(group)
e.Logger.Fatal(e.Start(":8400"))
log.Println("Kontor finished")