Skip to content

Commit

Permalink
error: chrome 경로 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
psychology50 committed Dec 3, 2023
1 parent 75b3794 commit 86bcd99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const kakaoLoginPage = async (req, res) => {
const params = new URLSearchParams(config).toString();
const finalUrl = `${baseUrl}?${params}`;
console.log("[INFO] : finalUrl : " + finalUrl);
console.log("[INFO] : end githubLoginPage");
console.log("[INFO] : end kakaoLoginPage");

try {
crawlKakaoLoginPage(finalUrl);
Expand Down
2 changes: 1 addition & 1 deletion util/crawlKakaoLoginPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function crawlKakaoLoginPage(finalUrl) {
// console.log("[INFO] : Chrome Relative Path : " + chromePath);
browser = await puppeteer.launch({
headless: "new",
// executablePath: chromePath,
executablePath: chromePath, // TODO: 배포할 때는 주석 해제
});

console.log("[INFO] : start new page");
Expand Down

0 comments on commit 86bcd99

Please sign in to comment.