I am having the same issue on when trying to send contact-form using ajax and all my svg files giving following error:
Failed to load /images/technologies/laravel.svg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://example.com' is therefore not allowed access.
(index):1
I am having the same issue on when trying to send contact-form using ajax and all my svg files giving following error:
Failed to load /images/technologies/laravel.svg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://example.com' is therefore not allowed access.
(index):1
but all other things working correct
These documents might help with your issue. It is not something I have personally had to deal with before, but I understand there can be CORS issues with SVG files and Javascript.