Skip to content

Commit

Permalink
[Common] [Chore] 배포 환경 변수 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
suwonthugger committed Nov 10, 2024
1 parent 4b5653f commit 9fb56fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { buttonStyle, headingStyle, paragraphStyle } from './authGithub.css';

const AuthGithub = () => {
const 깃허브로그인페이지로이동 = () => {
console.log(process.env.NEXT_PUBLIC_GITHUB_AUTH_URL);
if (process.env.NEXT_PUBLIC_GITHUB_AUTH_URL)
window.location.href = process.env.NEXT_PUBLIC_GITHUB_AUTH_URL;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {

const AuthGithub = () => {
const 깃허브로그인페이지로이동 = () => {
console.log(process.env.NEXT_PUBLIC_GITHUB_AUTH_URL);
if (process.env.NEXT_PUBLIC_GITHUB_AUTH_URL)
window.location.href = process.env.NEXT_PUBLIC_GITHUB_AUTH_URL;
};
Expand Down

0 comments on commit 9fb56fe

Please sign in to comment.