Publishing a Hugo site through pages is not loading css properly
Good afternoon,
I am trying to deploy a hugo site to https://doks.diogomachado.pt/ using
npm run build
as the exec command.
I have tried to run it locally and through a regular apache server and it all works fine.
When loading through cloudflare, the css does not seem to load correctly.
Already tried:
- disabling minify css & js
- clearing browser cache & using a different browser
- changing NODE_VERSION to match the one that I am running locally
Please let me know what else I can do, build logs seem fine (no errors)3 Replies
My pages.dev project domain: doks-f0t.pages.dev
This is a fresh install of https://github.com/gethyas/doks
GitHub
GitHub - gethyas/doks: Build beautiful, accessible, high-performanc...
Build beautiful, accessible, high-performance documentation websites - GitHub - gethyas/doks: Build beautiful, accessible, high-performance documentation websites
Solved:
Had to change the build command to not have --minify (still not sure why it wouldn't work tho)