Fixed CalDAV url (again)
This commit is contained in:
parent
f71ec34f48
commit
6466653975
|
@ -31,7 +31,7 @@ func LoadSettings() Settings {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
if settings.CalDAV.URL != "" && strings.HasSuffix(settings.CalDAV.URL, "/") {
|
||||
if settings.CalDAV.URL != "" && !strings.HasSuffix(settings.CalDAV.URL, "/") {
|
||||
settings.CalDAV.URL += "/"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue