mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-06-04 03:32:20 +02:00
Add entry API endpoints
This commit is contained in:
parent
c8d1c33cb4
commit
1e071ffed4
8 changed files with 325 additions and 31 deletions
|
@ -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!")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue