Ver código fonte

build login link from nm domain

abhishek9686 1 ano atrás
pai
commit
5066781566
1 arquivos alterados com 1 adições e 1 exclusões
  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>