Skip to content

Commit

Permalink
fix(frontend): add base path to openseadragon prefix url
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Jul 8, 2024
1 parent c42f4e7 commit 002610e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/routes/inscription/[slug]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
import { base } from '$app/paths';
import * as config from '$lib/config';
import { onMount } from 'svelte';
Expand All @@ -19,8 +20,7 @@
const viewer = OpenSeaDragon({
id: 'facsimile-images',
insecureRequestsAllowed: true,
prefixUrl: '/openseadragon/images/',
prefixUrl: `${base}/openseadragon/images/`,
tileSources,
sequenceMode: true
});
Expand Down

0 comments on commit 002610e

Please sign in to comment.