Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Jan 16, 2025
1 parent feda628 commit ec6d76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tei2fo.xq
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ declare function t2f:graphic($node, $options) {
else
for $ext in ('svg', 'tiff', 'png')
let $uri := concat('https://static.history.state.gov/', 'frus-history' (:'frus/', $filename :), '/', $url, '.', $ext)
let $response := htto:send-request(<http:request href="{$uri}" method="HEAD"/>)[1]
let $response := http:send-request(<http:request href="{$uri}" method="HEAD"/>)[1]
return
if ($response/@statusCode eq '200') then
let $store := xmldb:store($images-collection, concat($url, '.', $ext), xs:anyURI($uri), concat('image/', if ($ext = 'svg') then 'svg+xml' else $ext))
Expand Down

0 comments on commit ec6d76d

Please sign in to comment.