1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-06-09 06:20:43 +00:00

Fixed config loading issue

This commit is contained in:
マリウス 2023-01-09 12:02:52 -05:00
parent a64cafd086
commit 08d9de64e0
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/TODO.md
/neonmodem
/posts.db
/neonmodem.toml

View File

@ -148,8 +148,6 @@ func Load() (Config, error) {
if err := viper.ReadInConfig(); err != nil {
if _, ok := err.(viper.ConfigFileNotFoundError); !ok {
return Config{}, err
} else {
return Config{}, nil
}
}