Add entry API endpoints

This commit is contained in:
Kevin Kandlbinder 2022-03-01 13:17:17 +01:00
parent c8d1c33cb4
commit 1e071ffed4
8 changed files with 325 additions and 31 deletions

View file

@ -78,8 +78,4 @@ func loadConfig() {
if err := viper.ReadInConfig(); err == nil {
log.Println("Using config file:", viper.ConfigFileUsed())
}
if viper.GetString("bot.web.secret") == "hunter2" {
log.Println("Web secret is not set! YOUR INSTALLATION IS INSECURE!")
}
}