Make sure the webapp logs the user into Blue Ocean by default

This commit is contained in:
R. Tyler Croy 2017-07-23 12:33:03 -07:00
parent 88d02fbdf5
commit 1aa4307ad6
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 2 additions and 1 deletions

1
plans/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
generated.*.tf

View File

@ -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}")