Skip to content

Commit

Permalink
Update HeaderMenu.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfyang authored Apr 7, 2021
1 parent 1ab4cdc commit 2d71600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/HeaderMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 2d71600

Please sign in to comment.