mirror of https://github.com/codevalet/codevalet
Make sure the webapp logs the user into Blue Ocean by default
This commit is contained in:
parent
88d02fbdf5
commit
1aa4307ad6
|
@ -0,0 +1 @@
|
|||
generated.*.tf
|
|
@ -35,7 +35,7 @@ module CodeValet
|
|||
|
||||
get '/' do
|
||||
unless env['warden'].user.nil?
|
||||
redirect_path = 'securityRealm/commenceLogin?from%F'
|
||||
redirect_path = 'securityRealm/commenceLogin?from=%2Fblue'
|
||||
login = env['warden'].user.login
|
||||
if production?
|
||||
redirect to("http://#{login}.codevalet.io/#{redirect_path}")
|
||||
|
|
Loading…
Reference in New Issue