Skip to content
Snippets Groups Projects

Publish badges to GitLab Pages for correct mime type when serving.

In reference to the .htaccess redirect workaround suggested in fdroid-website#107 (closed), I figured out that the .svg images served from /raw URLs on GitLab don't come with the correct mime types, and thus are served as plain text and not rendered correctly if used in an <img /> tag.

This publishes them to https://fdroid.gitlab.io/artwork/badge/get-it-on.svg using GitLab CI.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading