프론트엔드/Next.js
-
Failed to load resource: the server responded with a status of 402 () 에러프론트엔드/Next.js 2024. 4. 19. 12:37
Failed to load resource: the server responded with a status of 402 () 에러 Next.js를 사용하여 전적검색 사이트를 제작하여 vercel에 배포후 몇일 뒤 "Failed to load resource: the server responded with a status of 402 ()"에러가 발생하기 시작했습니다. 해당 에러에 대해서 ChatGPT한테 물어보았습니다.402 상태 코드는 일반적으로 요청이 유효하지만 서버가 결제가 이루어지지 않았기 때문에 응답을 거부한다는 것을 나타냅니다. 이 상태 코드는 프리미엄 콘텐츠에 액세스하거나 구독이 필요한 서비스를 사용할 때와 같은 결제가 필요한 상황과 관련이 있습니다. 현재 "Image Optimization..
-
images.domains 에러프론트엔드/Next.js 2024. 4. 16. 21:20
images.domains 에러 The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead. 경고 메시지는 "images.domains" 설정이 더 이상 권장되지 않으며 대신 "images.remotePatterns" 설정을 사용하라고 알려주고 있습니다. In Next.js Version 14, domains configuration has been deprecated in favour of remotePatterns. This can be defined in the next.config.js file. Here is a reference as per the Next.js ..