1
0

Set todoist migration redirect url to the frontend url by default

This commit is contained in:
kolaente
2021-08-14 18:27:29 +02:00
parent b3bb7395cd
commit dcddaab7b5
3 changed files with 18 additions and 1 deletions

View File

@ -374,6 +374,10 @@ func InitConfig() {
AuthOpenIDRedirectURL.Set(ServiceFrontendurl.GetString() + "auth/openid/")
}
if MigrationTodoistRedirectURL.GetString() == "" {
MigrationTodoistRedirectURL.Set(ServiceFrontendurl.GetString() + "migrate/todoist")
}
if MigrationTrelloRedirectURL.GetString() == "" {
MigrationTrelloRedirectURL.Set(ServiceFrontendurl.GetString() + "migrate/trello")
}