Force set omniauth full_host for redirection

This commit is contained in:
2020-03-05 19:18:44 -05:00
parent cf464aed8d
commit 8288595b3f
4 changed files with 7 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
OmniAuth.config.full_host = Rails.env.production? ? 'https://www.mozo.bar' : 'https://www.mozo.local'