1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-29 18:05:36 +02:00
This commit is contained in:
binwiederhier 2023-05-05 20:14:46 -04:00
parent 1c0162c434
commit 3863357207
3 changed files with 55 additions and 6 deletions
server

View file

@ -105,6 +105,7 @@ type Config struct {
SMTPServerListen string
SMTPServerDomain string
SMTPServerAddrPrefix string
TwilioBaseURL string
TwilioAccount string
TwilioAuthToken string
TwilioFromNumber string
@ -186,6 +187,7 @@ func NewConfig() *Config {
SMTPServerListen: "",
SMTPServerDomain: "",
SMTPServerAddrPrefix: "",
TwilioBaseURL: "https://api.twilio.com", // Override for tests
TwilioAccount: "",
TwilioAuthToken: "",
TwilioFromNumber: "",