diff --git a/packages/typst.angular/projects/demo/src/app/app.service.ts b/packages/typst.angular/projects/demo/src/app/app.service.ts index e273dbcea..d4767010d 100644 --- a/packages/typst.angular/projects/demo/src/app/app.service.ts +++ b/packages/typst.angular/projects/demo/src/app/app.service.ts @@ -10,7 +10,7 @@ export class AppService { getArtifact(): Observable { return this.http - .get('http://localhost:20810/corpus/skyzh-cv/main.white.artifact.json', { + .get('http://localhost:20810/corpus/skyzh-cv/main.white.artifact.sir.in', { responseType: 'arraybuffer', }) .pipe(map(a => new Uint8Array(a))); diff --git a/packages/typst.react/src/demo/App.tsx b/packages/typst.react/src/demo/App.tsx index 0d4f0e959..dc6bf8250 100644 --- a/packages/typst.react/src/demo/App.tsx +++ b/packages/typst.react/src/demo/App.tsx @@ -25,7 +25,7 @@ export const App = () => { const getArtifactData = async () => { const response = await fetch( - 'http://localhost:20810/corpus/skyzh-cv/main.white.artifact.json', + 'http://localhost:20810/corpus/skyzh-cv/main.white.artifact.sir.in', ).then(response => response.arrayBuffer()); setArtifact(new Uint8Array(response));