File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ services:
497497 args :
498498 NEXT_PUBLIC_SUPABASE_URL : ${NEXT_PUBLIC_SUPABASE_URL}
499499 NEXT_PUBLIC_SUPABASE_ANON_KEY : ${NEXT_PUBLIC_SUPABASE_ANON_KEY}
500- NEXT_PUBLIC_API_URL : ${NEXT_PUBLIC_API_URL:-https://prodback.docs.plus/api }
500+ NEXT_PUBLIC_API_URL : ${NEXT_PUBLIC_API_URL:-https://prodback.docs.plus}
501501 NEXT_PUBLIC_APP_URL : ${NEXT_PUBLIC_APP_URL:-https://docs.plus}
502502 restart : always
503503 stop_grace_period : 30s
@@ -508,7 +508,7 @@ services:
508508 HOSTNAME : ' 0.0.0.0'
509509 NEXT_PUBLIC_SUPABASE_URL : ${NEXT_PUBLIC_SUPABASE_URL}
510510 NEXT_PUBLIC_SUPABASE_ANON_KEY : ${NEXT_PUBLIC_SUPABASE_ANON_KEY}
511- NEXT_PUBLIC_API_URL : ${NEXT_PUBLIC_API_URL:-https://prodback.docs.plus/api }
511+ NEXT_PUBLIC_API_URL : ${NEXT_PUBLIC_API_URL:-https://prodback.docs.plus}
512512 NEXT_PUBLIC_APP_URL : ${NEXT_PUBLIC_APP_URL:-https://docs.plus}
513513 networks :
514514 - docsplus-network
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const nextConfig = {
5252 "style-src 'self' 'unsafe-inline'" ,
5353 `img-src 'self' data: blob: https://*.supabase.co https://*.googleusercontent.com${ isDev ? ' http://localhost:* http://127.0.0.1:*' : '' } ` ,
5454 "font-src 'self' data:" ,
55- `connect-src 'self' https://*.supabase.co wss://*.supabase.co https://accounts.google.com${ localDevHosts } ` ,
55+ `connect-src 'self' https://*.supabase.co wss://*.supabase.co https://accounts.google.com https://*.docs.plus ${ localDevHosts } ` ,
5656 `frame-src 'self' https://accounts.google.com${ isDev ? ' http://localhost:*' : '' } ` ,
5757 "frame-ancestors 'none'" ,
5858 "form-action 'self'" ,
Original file line number Diff line number Diff line change 66export const APP_URL = process . env . NEXT_PUBLIC_APP_URL || 'http://localhost:3001'
77
88// API URL for backend requests
9+ // API_URL is the base URL - endpoints include /api/admin/... paths
910export const API_URL = process . env . NEXT_PUBLIC_API_URL || 'http://localhost:4000'
1011
1112// Default page size for tables
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ const withPWA = require('next-pwa')({
99 disable : ! isProduction ,
1010 register : true ,
1111 skipWaiting : false ,
12- runtimeCaching
13- // disableDevLogs: true,
12+ runtimeCaching,
13+ // Exclude files that don't exist in Next.js 15+
14+ buildExcludes : [ / d y n a m i c - c s s - m a n i f e s t \. j s o n $ / , / m i d d l e w a r e - m a n i f e s t \. j s o n $ / ]
1415} )
1516
1617module . exports = withPWA ( {
You can’t perform that action at this time.
0 commit comments