mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-17 22:43:33 +02:00
Added configurable user agents that get served the text version by default
This commit is contained in:
@ -40,3 +40,7 @@ location_database = "mmdb/GeoLite2-City.mmdb"
|
||||
[template]
|
||||
# Path to the template directory, can contain glob patterns
|
||||
template_location = "templates"
|
||||
|
||||
# Prefixes of user agents that should get a text reponse by default
|
||||
text_user_agents = ["curl/"]
|
||||
|
||||
|
Reference in New Issue
Block a user