librespeed / speedtest-go

Go backend for LibreSpeed
GNU Lesser General Public License v3.0
733 stars 157 forks source link

Move config options in index.html to settings.toml #19

Closed xiruizhao closed 3 years ago

xiruizhao commented 3 years ago

For example whether to turn on telemetry.

maddie commented 3 years ago

I'm not sure about this change for now, since the Go version is mostly a re-implementation of the PHP version. Changing this means the frontends won't be 100% compatible (changing the telemetry setting within the frontend doesn't work the same in Go version anymore with this change), which could be a surprise for users migrating to Go.

maddie commented 3 years ago

Telemetry can now be disabled in the backend with database_type set to none.