Commit Graph

23 Commits

Author SHA1 Message Date
Muhammed Efe Cetin
fe5b11d0e4 fix edge-case for new json format 2025-12-20 19:56:31 +01:00
Muhammed Efe Cetin
a6a3762908 bug: fix redirectHandler fails for requests like region/ 2025-10-21 00:24:03 +02:00
Muhammed Efe Cetin
0b6be776fc fix images hosted at github 2024-08-09 15:46:11 +02:00
Tyler
5cfbfa6081 [bugfix] Fix compile errors
- Fix compile errors not found by prechecks
2024-01-25 21:33:37 -05:00
Tyler
5ab22152e0 Bugfixes and more logging 2022-10-17 20:04:22 -04:00
Tyler
e7236b13de Massive refactoring, struct cleanup, supporting more features
Features:
- Protocol lists (http, https), managed by http responses
- Working TLS Checks
- Root certificate parsing for TLS checks
- Moving configuration into a Config struct, no more direct viper access
2022-08-15 02:16:22 -04:00
Tyler
3f71aced93 Improve test coverage and documentation 2022-08-14 03:42:49 -04:00
Tyler
9caa391601 Resolve issue with returning a lower number of servers, add auth to reload 2022-04-02 14:35:46 -04:00
Tyler
e5434a9a7b Add mirror status endpoint, timestamp on last activity 2022-04-02 04:50:12 -04:00
Tyler
2f43f2d934 Strip leading slashes from requests to download map 2022-04-02 01:21:42 -04:00
Tyler
a571832239 Add support for region paths 2022-04-01 00:04:27 -04:00
Tyler
20ae76ff06 Fix distance sorting, add env variable for local IP to test 2022-03-31 22:43:18 -04:00
Tyler
b4ed1fc1a3 Check redirect path and add trailing slash if necessary 2022-03-31 22:23:51 -04:00
Tyler
aa8a187bda Mimic existing mirrors endpoint, add geoip 2022-03-31 22:04:19 -04:00
Tyler
bb3cea2ce2 Add proper signal checking, support for reload (map only) 2022-03-30 21:37:47 -04:00
Tyler
be4e9ba7cf Revert realProto call in http.go as we're doing it properly 2022-03-30 21:01:25 -04:00
Tyler
38ea55ccc2 Add chi for middleware, logging, fix x-forwarded headers 2022-03-30 21:00:28 -04:00
Tyler
e4a14fb9fd Make adding servers async, checks after starting http service to avoid delays, add prom metrics 2022-01-11 01:05:20 -05:00
Tyler
d75188848a Add dl_map endpoint 2022-01-10 00:15:07 -05:00
Tyler
fb0c46ee34 Rename handlers to reflect proper handler naming 2022-01-10 00:13:42 -05:00
Tyler
9ecda3832f More cleanup and patches (specifically for servers), add support for download url mapping 2022-01-10 00:11:15 -05:00
Tyler
e6d3782450 A bit of cleanup and documentation 2022-01-09 23:53:23 -05:00
Tyler
0415041917 Initial commit 2022-01-09 23:47:40 -05:00