Skip to content

Commit

Permalink
fix: wrong mime type by adding mime-support
Browse files Browse the repository at this point in the history
The admin's stylesheets e.g.https://{{DISCOVERY_HOST}}/static/admin/css/base.css, were not loaded because its MIME type appears to be "text/plain", It should be "text/css".
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Jun 7, 2024
1 parent f4ccdf0 commit e63be4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/20240514_140102_faraz.maqsood_redwood.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [BugFix] wrong mime type by adding mime-support dependency. (by @Faraz32123)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
apt update && \
apt install -y curl git-core gettext language-pack-en \
build-essential libcairo2 libffi-dev libmysqlclient-dev libxml2-dev libxslt-dev libjpeg-dev libssl-dev \
pkg-config libsqlite3-dev
pkg-config libsqlite3-dev mime-support
ENV LC_ALL en_US.UTF-8

ARG APP_USER_ID=1000
Expand Down

0 comments on commit e63be4f

Please # to comment.