mirror of
https://github.com/librespeed/speedtest.git
synced 2026-11-27 10:39:43 +00:00
The shared result image had one look, and it no longer matched the modern frontend. The renderer can now draw either design. The image follows the same useNewDesign setting as the frontend, so a deployment has one switch rather than two that can disagree, and classic remains the fallback. - An explicit style query parameter overrides it, which is how the modern frontend asks for the design it matches. - The modern design reuses the frontend palette and shows the client, address family and timestamp already present in the result data. |
||
|---|---|---|
| .. | ||
| fonts | ||
| images | ||
| javascript | ||
| screenshots | ||
| styling | ||
| index.html | ||
| README.md | ||
LibreSpeed frontend
This directory contains the modern LibreSpeed UI assets.
Deployment
For installation and deployment, follow the top-level README.md
and DESIGN_SWITCH.md. This directory is copied as a
whole: index-modern.html loads its assets from frontend/, so the layout
here is the layout that gets served.
Configuration
The two configuration files live at the top level rather than here, because the page fetches them relative to itself:
../server-list.jsoncontains the default server list used by the modern UI.../settings.jsonoverrides selectedspeedtest_worker.jssettings.index.htmland../index-modern.htmlshow how the frontend is wired up.
Notes
- The modern frontend expects modern browser features and does not support old browsers.
- This directory does not contain the backend or results-sharing files.