Skip to content

Commit 177709c

Browse files
committed
Drop the API key from the link to the online library
1 parent 446a5b6 commit 177709c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/clj/catalog/layout/fop.clj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,7 @@
9494
(defn- to-url
9595
"Return an url given a `record-id`"
9696
[record-id]
97-
(let [api-key "c97386a2-914a-40c2-bd8d-df4c273175e6"]
98-
(format "https://online.sbs.ch/iguana/www.main.cls?v=%s&surl=search&p=*#recordId=%s"
99-
api-key
100-
(string/replace record-id "/" "."))))
97+
(format "https://online.sbs.ch/iguana/www.main.cls?surl=search&p=*#recordId=%s" (string/replace record-id "/" ".")))
10198

10299
(defn- link-to-online-catalog [record-id title]
103100
;; FIXME: The use of the alt-text isn't quite clear. Apparently when

0 commit comments

Comments
 (0)