Description
When enabling the new design via "useNewDesign" : true in config.json on a non-Docker deployment, all modern design assets (JS, CSS, images, fonts) return 404. The DESIGN_SWITCH.md documentation states that index-modern.html should reference assets from the frontend/ subdirectory in non-Docker mode, but the actual file references root-level paths identical to the Docker behavior.
Server
Web server: Nginx (via Synology Web Station)
PHP: 8.4
LibreSpeed: v6.1.0 (cloned from Git)
Client
Firefox, macOS
Standard home connection
Steps to reproduce
Clone the repository: git clone https://github.com/librespeed/speedtest.git
Set useNewDesign: true in config.json
Point web server root to the repository root
Visit the site — modern design loads but all assets 404
Expected behaviour
Either index-modern.html should reference frontend/ prefixed paths in non-Docker deployments (as documented in DESIGN_SWITCH.md), or the installation documentation should explicitly instruct users to symlink or copy the frontend/ contents to root level. Currently the only workaround is undocumented:
ln -s frontend/javascript javascript ln -s frontend/styling styling ln -s frontend/images images ln -s frontend/fonts fonts ln -s frontend/server-list.json server-list.json ln -s frontend/settings.json settings.json
Description
When enabling the new design via "useNewDesign" : true in config.json on a non-Docker deployment, all modern design assets (JS, CSS, images, fonts) return 404. The DESIGN_SWITCH.md documentation states that index-modern.html should reference assets from the frontend/ subdirectory in non-Docker mode, but the actual file references root-level paths identical to the Docker behavior.
Server
Web server: Nginx (via Synology Web Station)
PHP: 8.4
LibreSpeed: v6.1.0 (cloned from Git)
Client
Firefox, macOS
Standard home connection
Steps to reproduce
Clone the repository: git clone https://github.com/librespeed/speedtest.git
Set useNewDesign: true in config.json
Point web server root to the repository root
Visit the site — modern design loads but all assets 404
Expected behaviour
Either index-modern.html should reference frontend/ prefixed paths in non-Docker deployments (as documented in DESIGN_SWITCH.md), or the installation documentation should explicitly instruct users to symlink or copy the frontend/ contents to root level. Currently the only workaround is undocumented:
ln -s frontend/javascript javascript ln -s frontend/styling styling ln -s frontend/images images ln -s frontend/fonts fonts ln -s frontend/server-list.json server-list.json ln -s frontend/settings.json settings.json