summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2025-02-25 16:01:05 -0700
committerBen Busby <contact@benbusby.com>2025-02-25 16:01:05 -0700
commite2ac4a20f8ad6026f37e95209ef1d6e2848aac11 (patch)
treefc08051c12b4b0f477269b0e3b63b0bf49354a6b /services
parentf3ab726ceced4ca9ba197f7e85ef609567fd4559 (diff)
downloadfarside-e2ac4a20f8ad6026f37e95209ef1d6e2848aac11.tar.gz
Add missing tent mapping
Diffstat (limited to 'services')
-rw-r--r--services/mappings.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/mappings.go b/services/mappings.go
index 8766863..aae36f5 100644
--- a/services/mappings.go
+++ b/services/mappings.go
@@ -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) {