fix: setup-password flow

This commit is contained in:
Lakhan Samani
2022-03-15 09:57:09 +05:30
parent 3e7150f872
commit 5e6ee8d9b0
5 changed files with 30 additions and 24 deletions

View File

@@ -78,7 +78,7 @@ func GetDomainName(uri string) string {
func GetAppURL(gc *gin.Context) string {
envAppURL := envstore.EnvStoreObj.GetStringStoreEnvVariable(constants.EnvKeyAppURL)
if envAppURL == "" {
envAppURL = GetHost(gc) + "/app/"
envAppURL = GetHost(gc) + "/app"
}
return envAppURL
}