Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Castopod Castopod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 64
    • Issues 64
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ad Aures
  • CastopodCastopod
  • Issues
  • #149
Closed
Open
Created Oct 23, 2021 by Romain de Laage@rdelaageDeveloper

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

  1. Open your web browser network inspector
  2. Go to a page (e.g. https://podcast.picasoft.net/@la_voix_est_libre)
  3. 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.

Assignee
Assign to
Time tracking