summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-09-28 17:14:32 +0100
committerNick White <git@njw.name>2020-09-28 17:14:32 +0100
commit02cd2607c79c243070eb072eea78654683b39c96 (patch)
treed4364f2fb498ff658769e599d610f5958191ccbc /cmd
parent1d6117b2af1ddb124e24bcc3109b0a9ac72bf39b (diff)
[iiifdownloader] Default to iiifmanifest type if none is given and no definitive service can be found
Diffstat (limited to 'cmd')
-rw-r--r--cmd/iiifdownloader/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/iiifdownloader/main.go b/cmd/iiifdownloader/main.go
index 79ee74c..507293b 100644
--- a/cmd/iiifdownloader/main.go
+++ b/cmd/iiifdownloader/main.go
@@ -316,7 +316,7 @@ func detectService(url string) string {
case strings.HasPrefix(url, dfgPrefix):
return "dfg"
}
- return ""
+ return "iiifmanifest"
}
func main() {