Use redirect URL in share link if env variable set (#3334)

This commit is contained in:
Cesar N
2024-05-08 09:46:41 -07:00
committed by GitHub
parent 978e02b5dc
commit a8c043cb16
4 changed files with 56 additions and 4 deletions

View File

@@ -303,3 +303,7 @@ func getConsoleDevMode() bool {
func getConsoleAnimatedLogin() bool {
return strings.ToLower(env.Get(ConsoleAnimatedLogin, "on")) == "on"
}
func getConsoleBrowserRedirectURL() string {
return env.Get(ConsoleBrowserRedirectURL, "")
}