Строительство

Новострой



Скачать видео: Скачать MP3: Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу

In today's video I'll be showing you how to fix the common CORS policy error which reads: ... from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported etc.

The problem is that you are most likely serving your HTML directly from your system, whereas instead you should be using a web server to serve your HTML, CSS, JavaScript or images.

A similar video on CORS:
https://youtu.be/0IMz8d9Cby4

Join this channel to get access to perks:
https://www.youtube.com/channel/UCjX0FtIZBBVD3YoCcxnDC4g/join

For your reference, check this out:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

💜 Join my Discord Server:
https://discord.gg/TXMQyvbpcA

🎨 Download my Visual Studio Code theme:
https://marketplace.visualstudio.com/items?itemName=dcode.dcode-theme

Support me on Patreon:
https://www.patreon.com/dcode

Follow me on Twitter:
@dcodeyt

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript

Comments