Set todoist migration redirect url to the frontend url by default
This commit is contained in:
parent
b3bb7395cd
commit
dcddaab7b5
3 changed files with 18 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue