1 Commits

Author SHA1 Message Date
dad080aa50 Added config validation 2024-04-24 01:26:31 +03:00
3 changed files with 1 additions and 10 deletions

4
.gitignore vendored
View File

@@ -46,8 +46,4 @@ tags
# Persistent undo
[._]*.un~
# Misc
.DS_Store
dist/
# End of https://www.toptal.com/developers/gitignore/api/go,vim

View File

@@ -1,5 +0,0 @@
gitea_urls:
api: https://git.handmadecities.com/api/v1
download: https://git.handmadecities.com/
# set to true if you use a self-signed certificate
skip_tls_verify: false

View File

@@ -44,7 +44,7 @@ type Config struct {
ApiUrl string `toml:"api_url"`
SharedSecret string `toml:"shared_secret"`
City string `toml:"city"`
} `toml:"hmc"`
}
Postmark struct {
ServerToken string `toml:"server_token"`
ApiUrl string `toml:"api_url"`