Comments (7)
CORS is enabled for all routes by default. There should be not need to configure it.
from json-server.
from json-server.
I'll have a look, thanks for the report
from json-server.
Also just so you have a little background. I'm using Sentry.io and it adds some headers to do browser tracing and it's when it adds these headers that I get the CORS error. Thanks.
from json-server.
Related Issues (20)
- Descending sort is not working HOT 1
- logger disabled by default in v1+; add option to enable logger? HOT 1
- Descending order not working HOT 3
- Descending order not working HOT 7
- Again "json-server module not found" HOT 16
- ζ₯ιitem['id'] = randomId();TypeError: Cannot create property 'id' on string 'a' HOT 1
- Pagination is not working as expected HOT 2
- Any way to filter data based on whether a field's value is in specified array? HOT 1
- How do I encrypt json-server HTTP requests? HOT 1
- problem in pagination HOT 1
- Why doesn't the "name_like" parameter work in the latest version of the JSON server? HOT 1
- error/bug in the json server showing INT value as a STRING HOT 2
- Running "json-server --watch ./data/db.json --port 8000 --routes ./data/routes.json" results in the error "Unknown option '--routes'" HOT 5
- Issues with installing to non alpha version HOT 3
- How do I set up a unique road handler? HOT 1
- Error on : json-server --watch db.json HOT 1
- query parameter does not working HOT 4
- Weird behaviour when property "period" is in json mock data
- Steps to serve multiple json files with json-server HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-server.