1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-25 13:10:02 +00:00

Add missing tent mapping

This commit is contained in:
Ben Busby 2025-02-25 16:01:05 -07:00
parent f3ab726cec
commit e2ac4a20f8
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -111,6 +111,14 @@ var regexMap = []RegexMapping{
Pattern: regexp.MustCompile("librex|librey"),
Targets: []string{"librey"},
},
{
// Tent
// Note: This is a Bandcamp alternative, but the endpoints are
// completely different than Bandcamp, so 1-to-1 mapping of URLs
// is not possible without some additional work
Pattern: regexp.MustCompile("tent"),
Targets: []string{"tent"},
},
}
func MatchRequest(service string) (string, error) {