generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Hi, after installing Drupal and loading the site in the browser, no styles render. This happens with both the Minimal and Standard install profiles.
Checking the console shows the minified theme CSS is being blocked:
The resource from “css_1234.css" was blocked due to MIME type ("text/html") mismatch (X-Content-Type-Options: nosniff)
However accessing the CSS uri directly is met with a 500 error.
@simesy suggested running ddev exec yarn --cwd="core"
from the post-install-actions
item in the install.yaml
script.
I'm not sure what this does, but it worked nicely and the theme CSS could load correctly.
Tested on:
- MacOS 14.0 Senoma, Intel core i9
- DDEV 1.22.7
- yarn 4.1.1 (after implementing this fix)
- Firefox 124.0
Metadata
Metadata
Assignees
Labels
No labels