eolant/laravel-vuetify-spa-starter

Access to XMLHttpRequest at 'http://localhost/api/register' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

ahmedTareque opened this issue · 1 comments

image

Can anyone has any idea why it's not working?

Domains must match for your API requests or you should enable CORS on Laravel.