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 -2
View File
@@ -138,8 +138,8 @@ func InitConfig() error {
viper.SetDefault("db.user", "kontor")
viper.SetDefault("db.password", "kontor")
viper.SetDefault("db.path", "data/kontor.db")
viper.SetDefault("server.port", 8550)
viper.SetDefault("gin.mode", "release")
viper.SetDefault("server.host", "127.0.0.1")
viper.SetDefault("server.port", 8400)
// Read the config file
if err := viper.ReadInConfig(); err != nil {
// Handle the case where config file is not found