diff --git a/example.config.json b/example.config.json index da4c8fc..86c5885 100644 --- a/example.config.json +++ b/example.config.json @@ -1,5 +1,3 @@ { - "url:": "https://mx.example.com", - "username": "admin@example.com", - "password": "password" + "caldav_url:": "https://mx.example.com" } diff --git a/main/config.go b/main/config.go index 96c18f6..0bcd479 100644 --- a/main/config.go +++ b/main/config.go @@ -7,9 +7,7 @@ import ( ) type Config struct { - URL string `json:"url"` - Username string `json:"username"` - Password string `json:"password"` + URL string `json:"caldav_url"` } var serverConfig Config