chmod: 테스트용 로그 추가
This commit is contained in:
@@ -43,6 +43,7 @@ const AuthWrapper = ({ children }: { children: React.ReactNode }) => {
|
||||
setUserInfo(null);
|
||||
|
||||
const hostname = window.location.hostname;
|
||||
console.log("Current hostname:", hostname);
|
||||
|
||||
// 개발 환경에서는 localhost 도메인 사용
|
||||
if (hostname === "localhost" || hostname === "127.0.0.1") router.push("/"); // 개발시 홈으로 돌아가기
|
||||
|
||||
Reference in New Issue
Block a user