Muhammed Efe Cetin
96aedbae7f
add support for some special cases
2024-01-31 23:55:07 +01:00
Tyler
c8c81b3e34
[bugfix] Check for img.xz suffix, not extension
...
- Fixes khadas-vim4 and other images with a prefix before img.xz
2024-01-30 12:20:54 +01:00
Tyler
aae93755cd
[bugfix] Fix JSON mapping using full urls
...
- Fixes JSON mapping to use only paths, preserving redirector functionality
2024-01-30 12:20:54 +01:00
M. Efe Çetin
44538f8212
Fix json ( #6 )
...
* fix json handling
* fix linter
2024-01-28 21:32:40 +01:00
Muhammed Efe Cetin
f509ed3f77
fix json handling
2024-01-28 20:59:37 +01:00
Tyler
85fc249b91
[bugfix] Correct format of JSON
...
- Corrects format of JSON by adding assets parent
- Fixes FileURL variable to map to the proper field
- Adds basic unit test for JSON loading
2024-01-25 21:34:37 -05:00
Tyler
7605e01312
[feature] Add JSON map support
...
- Adds JSON map file support
2024-01-22 21:28:13 -05: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
2f43f2d934
Strip leading slashes from requests to download map
2022-04-02 01:21:42 -04:00
Tyler
aa8a187bda
Mimic existing mirrors endpoint, add geoip
2022-03-31 22:04:19 -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
9ecda3832f
More cleanup and patches (specifically for servers), add support for download url mapping
2022-01-10 00:11:15 -05:00