Access to fetch has been blocked by CORS policy: No 'Access-Control-Allow-Origin' - FIXED!

Access to fetch has been blocked by CORS policy: No 'Access-Control-Allow-Origin' - FIXED!

CoderDmitri

3 года назад

119,318 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Саша Жегулов
Саша Жегулов - 17.08.2023 18:12

THANK YOU

Ответить
Tiago Blauth
Tiago Blauth - 08.08.2023 12:52

You saved another dev, many thanks

Ответить
Abhi Thakur
Abhi Thakur - 07.08.2023 04:26

Thanks a lot ❤

Ответить
The Heavyassaulter
The Heavyassaulter - 05.08.2023 21:57

How do you access the god damn server, guys not everyone that watches these videos is a programmer you kjwo that right? 😅

Ответить
Zarzar YT
Zarzar YT - 27.07.2023 20:33

What if it says require is not defined?

Ответить
Anas
Anas - 25.07.2023 21:57

Thanks pale, you're a life savior

Ответить
Unbreakable Journey
Unbreakable Journey - 09.07.2023 16:56

it work. thanks dude

Ответить
John Xina
John Xina - 01.07.2023 10:19

Thank you very much

Ответить
Yash Gaikwad
Yash Gaikwad - 07.05.2023 20:27

Thank you

Ответить
Sagar Sonkar
Sagar Sonkar - 28.04.2023 11:07

ReferenceError: require is not defined

Ответить
Laflame
Laflame - 23.04.2023 18:42

Thank you so much!

Ответить
Shekhar 431
Shekhar 431 - 09.04.2023 14:42

Thanks a lot and nice thi9ng is that u r straight to the point

Ответить
Riyaz Baig
Riyaz Baig - 24.03.2023 08:47

hey bro I want Server.js and App.js coding

Ответить
C Ps
C Ps - 16.03.2023 20:36

i have to comment and like ur vid. It saved my life

Ответить
Felipe Ocampo
Felipe Ocampo - 11.03.2023 05:48

THANK YOU SOOOO MUCH!

Ответить
Adrian Bartholomew
Adrian Bartholomew - 03.03.2023 18:24

You have it turned around. You're ONLY allowed to fetch data from the same site. Its a Cross Origin problem - hence CORS.

Ответить
Joaquín Cataldo
Joaquín Cataldo - 02.03.2023 23:13

thanks man ! useful and straight to the point

Ответить
Roee Ekman
Roee Ekman - 26.02.2023 15:39

You saved me! thanks!

Ответить
Yousef Joo
Yousef Joo - 16.02.2023 15:34

How to make same thing in nextjs

Ответить
Maksudur prio
Maksudur prio - 14.02.2023 09:27

Hi i 've used cors already. And i deployed my server on vercel. Still i 'm having that error. Can u help me?

Ответить
meVn
meVn - 08.02.2023 21:16

the best

Ответить
Queen of Sheba
Queen of Sheba - 11.01.2023 16:31

when i add "const cors = require('cors')"; i get a nodemon error : "[nodemon] app crashed - waiting for file changes before starting...", and it does not fix the original error either.. why is this happening

Ответить
Антон Кравченко
Антон Кравченко - 15.12.2022 10:39

Thanks

Ответить
Marcelo Moraes
Marcelo Moraes - 02.12.2022 05:20

Man! You're a genius! Thank you so much. Great video and strict to the point!

Ответить
salima brinsi
salima brinsi - 27.11.2022 22:19

my error is fixed , thank you so much

Ответить
Subbu Erikinaboina
Subbu Erikinaboina - 24.11.2022 18:17

Awesome awesome... 👏

Ответить
SS20CO048 Akash Dabhane
SS20CO048 Akash Dabhane - 24.11.2022 12:25

Thanks man❤, I was solving this issue from two days and finally have fix it.

Ответить
JOEL OH KAI SHUN, HIROYUKI @ FUJIKAWA HIROYUKI _
JOEL OH KAI SHUN, HIROYUKI @ FUJIKAWA HIROYUKI _ - 11.11.2022 11:32

Sorry can someone help me, my code shows that require is not defined

Ответить
я общественный деятель
я общественный деятель - 24.10.2022 16:18

very helpful Dimitri

Ответить
Coding
Coding - 20.09.2022 09:37

help me bro , this is not working

Ответить
Osman Chernor Kamara
Osman Chernor Kamara - 29.08.2022 17:46

Thank you very much. Have searched the web for hrs and finally got to solve it using your technique

Ответить
Ari1090
Ari1090 - 28.08.2022 09:33

Thx

Ответить
Brightness of life
Brightness of life - 12.08.2022 19:20

Thank you for this great informative video.

Ответить
Seriousbear
Seriousbear - 09.08.2022 01:24

Cyka blyet

Ответить
Emeka Orji
Emeka Orji - 05.08.2022 22:08

FontSize!

Ответить
Albert NT
Albert NT - 19.07.2022 10:12

THANK YOU !!!

Ответить
Dharamjit Singh
Dharamjit Singh - 19.07.2022 05:19

Zoom in

Ответить
Jamshid Abdukarimov
Jamshid Abdukarimov - 30.05.2022 08:41

Briliant, just what I needed! Thank you bro

Ответить
Jyoti kamat
Jyoti kamat - 23.05.2022 13:18

Thank you , error resolved

Ответить
Talip Cakal
Talip Cakal - 20.05.2022 22:55

this is not wroking in heroku backend project haaa

Ответить
Daniel
Daniel - 04.05.2022 18:06

Thanks, helped me a lot!

Ответить
Anant jain
Anant jain - 28.04.2022 03:19

after installing cors , i didnt got server.js , where to get server.js

Ответить
rafik zahra
rafik zahra - 18.04.2022 08:06

Thanks 🙏🏻

Ответить
Md Zaid Siddiqui
Md Zaid Siddiqui - 18.04.2022 01:57

What should I do if I'm fetching data from an online API to my localhost and get this error?

Ответить
Роман Водолаз
Роман Водолаз - 29.03.2022 20:44

Не роботает

Ответить
Nattamon59 Jant
Nattamon59 Jant - 18.03.2022 08:08

Thank you

Ответить
Stina Smeds
Stina Smeds - 17.03.2022 14:16

Excellent, just what I needed! Thank you

Ответить