farside/services.json
Ben Busby 4949ae22bb
Output available instances and fallback URL to redis
Once a list of available URLs has been determined for a particular
service, the list is written as "service -> [list of instances]" to a
local redis connection. These can then be used in the greater routing
logic to pick a random instance from the list, or use a fallback
instance if none are determined to be available.
2021-10-22 17:15:40 -06:00

21 lines
475 B
JSON

[
{
"type": "reddit",
"test_url": "/r/popular",
"fallback": "https://libredd.it",
"instances": [
"https://libredd.it",
"https://libreddit.spike.codes"
]
},
{
"type": "instagram",
"test_url": "/taylorswift",
"fallback": "https://bibliogram.art/u",
"instances": [
"https://bibliogram.art/u",
"https://bibliogram.snopyta.org/u"
]
}
]