Commit Graph

14 Commits

Author SHA1 Message Date
Maddie Zhan
dcb9882978 Allow negative coordinates
Fixes #25
2021-05-21 14:21:45 +08:00
Maddie Zhan
c755a05b61 Update dependencies 2021-03-18 18:20:08 +08:00
Maddie Zhan
e2d2f66e97 Remove web server logger
Fixes #18
2021-03-18 18:17:20 +08:00
Enrico
fe438802ca
Fix missing format calls and minor error handling (#17) 2020-12-16 17:42:24 +08:00
Maddie Zhan
cf93e8c545 gofmt 2020-08-20 10:32:50 +08:00
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