How to open a json file with fetch without getting a Cors error | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How to open a json file with fetch without getting a Cors error

I have a file example.html, it contains a code to read a json file using fetch but it gives me cors error, i need to fix this but without the need of a server.

26th Nov 2022, 8:04 PM
NinjaGamer
NinjaGamer - avatar
1 ответ
27th Nov 2022, 5:11 AM
Calviղ
Calviղ - avatar