We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to use laravel-telescope-toolbar with browserSync
Toolbar works fine with php artisan serve on http://localhost:3000
php artisan serve
http://localhost:3000
But after I enabled browserSync in webpack.mix.js:
webpack.mix.js
.browserSync({ proxy: 'http://localhost:8000', files: [ 'resources/views/**/*.blade.php', ] });
on domain http://localhost:8000 I don't see any toolbar and in Chrome console I see this error:
http://localhost:8000
Access to XMLHttpRequest at 'http://localhost:8000/_tt/render/92872b43-05f7-4ed3-807c-39f62ba9a9f8' from origin 'http://localhost:3000' 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.
btw. telescope works on both domains http://localhost:8000/telescope http://localhost:3000/telescope
I am not sure if it a bug or can you help me how can I fix it? Thanks
The text was updated successfully, but these errors were encountered:
In your cors.php add _tt/*
'paths' => [ 'api/*', '_tt/*', ],
Sorry, something went wrong.
No branches or pull requests
I would like to use laravel-telescope-toolbar with browserSync
Toolbar works fine with
php artisan serve
onhttp://localhost:3000
But after I enabled browserSync in
webpack.mix.js
:on domain
http://localhost:8000
I don't see any toolbar and in Chrome console I see this error:Access to XMLHttpRequest at 'http://localhost:8000/_tt/render/92872b43-05f7-4ed3-807c-39f62ba9a9f8' from origin
'http://localhost:3000' 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.
btw. telescope works on both domains
http://localhost:8000/telescope
http://localhost:3000/telescope
I am not sure if it a bug or can you help me how can I fix it?
Thanks
The text was updated successfully, but these errors were encountered: