mirror of
https://github.com/Unkn0wnCat/calapi.git
synced 2025-06-19 16:11:37 +02:00
Add .env file
This commit is contained in:
parent
37b27ec3e0
commit
a5a030eba9
4 changed files with 16 additions and 4 deletions
|
@ -34,8 +34,8 @@ func init() {
|
|||
viper.SetDefault("auth.type", "GHOST")
|
||||
viper.SetDefault("auth.secret", "hunter2")
|
||||
viper.SetDefault("auth.anonymous_read", true)
|
||||
viper.SetDefault("auth.ghost.base_url", "https://content.hhga.1in9.net/ghost")
|
||||
viper.SetDefault("auth.ghost.limit_to_roles", nil)
|
||||
viper.SetDefault("auth.ghost.base_url", "https://demo.ghost.io/ghost")
|
||||
//viper.SetDefault("auth.ghost.limit_to_roles", nil)
|
||||
|
||||
viper.AutomaticEnv()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue