feat: npm install nextjs-cors weil
Access to fetch at 'http://localhost:3000/api/linesColorApi' from origin 'http://10.10.0.13:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"mysql": "^2.18.1",
|
||||
"mysql2": "^3.10.1",
|
||||
"next": "^14.2.3",
|
||||
"nextjs-cors": "^2.2.0",
|
||||
"overlapping-marker-spiderfier-leaflet": "^0.2.7",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
||||
Reference in New Issue
Block a user