Commit Graph

9 Commits

Author SHA1 Message Date
Maddie Zhan
b138d9b6bc Use a proven library to calculate distance
Also rounding distance at 2 decimals instead of round to 5
2020-08-20 10:22:47 +08:00
Maddie Zhan
a0a6db8597 Add Proxy Protocol support
Closes #9
2020-08-19 17:02:37 +08:00
Maddie Zhan
f884386a54 Support HEAD method for all endpoints via middleware 2020-08-17 15:23:54 +08:00
Maddie Zhan
6970d87166 Return 404 for non-existing files instead of 403 2020-08-15 23:13:23 +08:00
Xirui Zhao
2958853375
Support HTTP HEAD method (#7) 2020-08-15 18:09:48 +08:00
Maddie Zhan
60329fc832 Add option to specify config file 2020-06-16 16:24:29 +08:00
Maddie Zhan
bd721cdb07 Allow user to specify assets path in settings
Fixes #2
2020-06-16 16:24:29 +08:00
Fazal Majid
8971ba8117
Handle URLs with an extraneous /backend/ prefix (#1)
* handle /backend in URLs as speedtest_worker.js is set up to do so

* fixed dropped slashes
2020-06-08 11:43:51 +08:00
Maddie Zhan
fad1302a73 Migrate code from Go branch to new repo 2020-06-02 18:10:50 +08:00