멈멈-토이프로젝트(next.js)2

nextj PWA 설정 하기 3차 / 로그인 문제

순9 2024. 10. 6. 18:38
728x90

설정 한 후에

공식문서에서는 PWA는 명령어를

next dev --experimental-https 를 설정 하라고 함

이렇게 명령어 설정 후 했는데

 

카카오 로그인이 안되는 에러가 생김

 

module.exports = withPWA(nextConfig);
https://test.supabase.co/auth/v1/user' 
because it violates the document's Content Security Policy.

수파베이스 정책 관련

Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed 
source of script in the following Content Security Policy 
directive: "script-src 'self'

자바스크립트 정책 관련