Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2fc1439

Browse files
committedOct 15, 2024·
fix: add base to client-side data-call
1 parent b3e6eab commit 2fc1439

File tree

1 file changed

+1
-1
lines changed
  • src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]

1 file changed

+1
-1
lines changed
 

‎src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
const createObject = (/** @type {string} */ id) => {
102102
return {
103103
id: id,
104-
tpData: fetch(`/textzeugen/data/${sigla}/${id}`).then((r) => r.json()),
104+
tpData: fetch(`${base}/textzeugen/data/${sigla}/${id}`).then((r) => r.json()),
105105
iiif: fetch(`${iiif}/${id}.jpf/info.json`).then((r) => r.json())
106106
};
107107
};

0 commit comments

Comments
 (0)
Please sign in to comment.