Can you show the complete error? It should mention both domains
What url are you running laravel on?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi! I had a problem with vite and valet, when I changed my vite.config.js file and followed the code of Freek.dev Making Vite and Valet play nice together https://freek.dev/2276-making-vite-and-valet-play-nice-together I got cors error Blocking a cross-origin request: the “Same Origin” policy does not allow consulting the remote resource located at https://project.laravel.test:5173/@vite/client. and no style in my login page
@sinnbeck Hey again
I went to https://project.laravel.test:5173/resources/js/app.js and then I have accepted the security warning from there. Everything works fine now. Thank you so much
Please or to participate in this conversation.