From 75642c450df5ecf3b678b1d82a1382b374f7866d Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 30 May 2024 14:33:05 +0200 Subject: [PATCH] change url --- libs/remix-ui/git/src/components/github/devicecode.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/git/src/components/github/devicecode.tsx b/libs/remix-ui/git/src/components/github/devicecode.tsx index eacb315e70..0fad875936 100644 --- a/libs/remix-ui/git/src/components/github/devicecode.tsx +++ b/libs/remix-ui/git/src/components/github/devicecode.tsx @@ -18,7 +18,7 @@ export const GetDeviceCode = () => { // Send a POST request const response = await axios({ method: 'post', - url: 'http://0.0.0.0:3000/github.com/login/device/code', + url: 'https://github.remixproject.org/login/device/code', data: { client_id: '2795b4e41e7197d6ea11', scope: 'repo gist user:email read:user' @@ -40,7 +40,7 @@ export const GetDeviceCode = () => { // poll https://github.com/login/oauth/access_token const accestokenresponse = await axios({ method: 'post', - url: 'http://0.0.0.0:3000/github.com/login/oauth/access_token', + url: 'https://github.remixproject.org/login/oauth/access_token', data: { client_id: '2795b4e41e7197d6ea11', device_code: gitHubResponse.device_code,