Note on Speedtest in Netrounds 2.31
In order for Speedtest to work after upgrading to 2.31, you need to add this setting to
/etc/netrounds/restol.conf
:
ALLOWED_ORIGINS=http://app.netrounds.com
Note especially that the protocol must be set to http
. This is because
Speedtest runs over HTTP (rather than HTTPS) for maximum performance.
To learn about how the ALLOWED_ORIGINS
setting works, read this article:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
To understand the big picture regarding Cross-Origin Resource Sharing (CORS), you will find this article helpful: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS