File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 33.github
44.husky
55.env
6+
7+ # Local Netlify folder
8+ .netlify
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "dev" : " next dev" ,
77 "build" : " next build" ,
8+ "build:ci" : " NEXT_PUBLIC_UPLOADCARE_APP_BASE_URL=$DEPLOY_PRIME_URL NODE_ENV=production next build" ,
89 "start" : " next start" ,
910 "lint" : " next lint"
1011 },
Original file line number Diff line number Diff line change @@ -109,6 +109,9 @@ export function uploadcareLoader({
109109
110110 // Return the relative url AS IS if the base path is not set.
111111 if ( ! isBasePathSet ) {
112+ console . warn (
113+ 'Env variable "NEXT_PUBLIC_UPLOADCARE_APP_BASE_URL" is not set. You should set it to be able to serve local images.'
114+ ) ;
112115 return src ;
113116 }
114117
You can’t perform that action at this time.
0 commit comments