typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
71.87k stars 6.93k forks source link

cors problem #1533

Open genopapashvili opened 3 months ago

genopapashvili commented 3 months ago

Hi there I have just db.json

and when I start json-server --watch db.json it has cors problems is there any way to fix this issue?

I want to allow all origins

eavan5 commented 2 months ago

I had the same problem as you, I backed out to version 0.17 and it worked fine!

eliezer-castro commented 2 months ago

Thank you!