Parcourir la source

build login link from nm domain

abhishek9686 il y a 1 an
Parent
commit
5066781566
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pro/auth/error.go

+ 1 - 1
pro/auth/error.go

@@ -18,7 +18,7 @@ var htmlBaseTemplate = `<!DOCTYPE html>
 	<script type="text/javascript">
 	function redirect()
     {
-    	window.location.href="` + servercfg.GetFrontendURL() + `";
+    	window.location.href="` + fmt.Sprintf("https://dashboard.%s/login", servercfg.GetNmBaseDomain()) + `";
     }
 	</script>
 	<style>