summaryrefslogtreecommitdiffhomepage
path: root/app/controllers/api
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-17 22:56:42 -0400
committerrealtradam <[email protected]>2024-06-17 22:56:42 -0400
commit300e6d7497efa64b659dc60a7975c9895d92ade1 (patch)
tree3e4e9f87e3469995ad83c5d44379f69904b2dcdc /app/controllers/api
parent2344d1da81f35546c56f513c79cadea34111e589 (diff)
parent5fb193314230fd69a15b255aa713fef22f0b313b (diff)
downloadgameHolster-300e6d7497efa64b659dc60a7975c9895d92ade1.tar.gz
gameHolster-300e6d7497efa64b659dc60a7975c9895d92ade1.zip
Merge branch 'dev'
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/auth_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/api/v1/auth_controller.rb b/app/controllers/api/v1/auth_controller.rb
index 3a248cd..590be3b 100644
--- a/app/controllers/api/v1/auth_controller.rb
+++ b/app/controllers/api/v1/auth_controller.rb
@@ -14,8 +14,8 @@ class Api::V1::AuthController < ApplicationController
puts result
render json: result
else
- puts "Not logged in -- this should show up"
- render json: { info: "Not logged in -- change thingies" }, status: 401
+ puts "Not logged in"
+ render json: { info: "Not logged in" }, status: 401
end
end
def callback
@@ -51,7 +51,7 @@ class Api::V1::AuthController < ApplicationController
user.user_name = user_data["login"]
user.save
#redirect_to 'http://localhost:5173/', allow_other_host: true
- redirect_to 'https://malcz.com/', allow_other_host: true
+ redirect_to "#{ENV['ROOT_DOMAIN']}/closewindow", allow_other_host: true
end
private