SocialGouv / dashlord

The best-practices Dashboard
https://socialgouv.github.io/dashlord
Apache License 2.0
73 stars 23 forks source link

[report] asset URLs are absolute not relative (or missing base-url) #58

Closed arthurzenika closed 2 years ago

arthurzenika commented 2 years ago

https://socialgouv.github.io/dashlord/ has it's CSS/js broken since it's trying to get the assets from /_next/ not /_next/ (or ./_next/)

For example https://socialgouv.github.io/_next/static/css/017eacd8855d90bf.css (404) should be https://socialgouv.github.io/dashlord/_next/static/css/017eacd8855d90bf.css (200)

Screenshot from 2022-03-10 16-04-39

This is probably a but in the report action, but not sure if this issue should be filed on https://github.com/SocialGouv/dashlord-actions instead

revolunet commented 2 years ago

bien vu merci.

ceci devrait corriger le souci : https://github.com/SocialGouv/dashlord/commit/a1e3b05502200195d014ed726def3e6cb0376a97

revolunet commented 2 years ago

fixed

arthurzenika commented 2 years ago

Je rajoute cela à mon dashlord. Est-ce que cela risque de casser l'usage "Template" du coup ? Faut-il ajouter une étape dans le README pour que l'action report soit modifiée avec le nom du projet ?

revolunet commented 2 years ago

Oui en effet ca risque de casser sans ce paramètre; j'ajoute cette info importante dans le readme !