laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.82k stars 636 forks source link

[5.x] Fix setting custom ASSET_URLs and support cache busting without integrity check #1427

Closed mmachatschek closed 2 months ago

mmachatschek commented 2 months ago

Fixes #1425 Fixes #1426

There were already tries to integrate Vite with telescope which have been postponed because of the linked issues and other concerns. I think this PR now solves all of these issues.

@timacdonald I would love to hear your opinion as well as you were involved in a lot of these discussions as well:

also related:

Screenshots:

Running vite dev mode renders the "none" vite url image

Setting a custom ASSET_URL works:

image

github-actions[bot] commented 2 months ago

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.