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://{{ECOMMERCE_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 committed May 15, 2024
1 parent 2ca2546 commit 5932443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/20240515_110255_faraz.maqsood_redwood.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [BugFix] Fix wrong mime type by adding mime-support dependency. (by @Faraz32123)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt update && \
apt install -y libmysqlclient-dev libssl-dev build-essential \
libsqlite3-dev libffi-dev
libsqlite3-dev libffi-dev mime-support

ARG APP_USER_ID=1000
RUN if [ "$APP_USER_ID" = 0 ]; then echo "app user may not be root" && false; fi
Expand Down

0 comments on commit 5932443

Please sign in to comment.