fix: mount custom.css to assets directory, not css

static_paths only includes: assets, fonts, images, js
The css directory is NOT served by Phoenix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-09 09:55:58 +01:00
parent 60e118be31
commit b3bffd8ba8
3 changed files with 28 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
// Inject custom CSS
var customCSS = document.createElement('link');
customCSS.rel = 'stylesheet';
customCSS.href = '/css/custom.css';
customCSS.href = '/assets/custom.css';
document.head.appendChild(customCSS);
// Inject custom favicon