From 2d71600b5dcf18e2389cdfc9abde5d09221faad9 Mon Sep 17 00:00:00 2001 From: Ralf Yang Date: Wed, 7 Apr 2021 12:22:54 +0900 Subject: [PATCH] Update HeaderMenu.js --- src/components/Header/HeaderMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Header/HeaderMenu.js b/src/components/Header/HeaderMenu.js index 628d7b1d..6f23ea6a 100644 --- a/src/components/Header/HeaderMenu.js +++ b/src/components/Header/HeaderMenu.js @@ -26,7 +26,7 @@ const HeaderMenu = () => { const isAdmin = useSelector((store) => store.adminReducer); const dispatch = useDispatch(); const clientID = CLIENT_ID; - const url = `https://github.com/login/oauth/authorize?client_id=${clientID}&redirect_uri=${API_SURVER}/callback&scope=user,repo,delete_repo,admin:org`; + const url = `https://github.com/login/oauth/authorize?client_id=${clientID}&redirect_uri=${SERVICE_URL}/callback&scope=user,repo,delete_repo,admin:org`; const { push, // location: { pathname },