Project 'ad-aures/castopod' was moved to 'adaures/castopod'. Please update any links and bookmarks that may still have the old path.
Reference to a missing stylesheet
Describe the bug
A reference to a missing stylesheet is present in all pages, this file is not present in the archive
Steps to reproduce
- Open your web browser network inspector
- Go to a page (e.g. https://podcast.picasoft.net/@la_voix_est_libre)
- A request to a stylesheet located at /assets/index.css is done and return a 404 error
Expected behavior
The page should only reference /assets/styles/index.css.4c1317ad.css.
Actual behavior
Reference to both stylesheets in some pages and only a reference to /assets/index.css in other pages (e.g. https://podcast.picasoft.net/@la_voix_est_libre/follow).
Relevant logs and/or screenshots
<link rel="stylesheet" href="/assets/index.css"/>
Context
- Castopod: 1.0.0-alpha.75
- OS: Manjaro
- Browser: Firefox
- Web server: Nginx
Possible fixes
https://code.podlibre.org/podlibre/castopod-host/-/blob/alpha/app/Views/podcast/follow.php#L10
replace <link rel="stylesheet" href="/assets/index.css"/>
by <?= service('vite')->asset('styles/index.css', 'css') ?>
should solve the problem on this page.