Код: Выделить всё
Access to XMLHttpRequest at 'http://localhost:8000/api/comments' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/79390625/laravel-11-no-access-control-allow-origin-header-is-present-on-the-requested[/url]
Мобильная версия