Skip to content

Commit

Permalink
docs: change artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Sep 19, 2023
1 parent 10c8967 commit aa86373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class AppService {

getArtifact(): Observable<Uint8Array> {
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)));
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.react/src/demo/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit aa86373

Please sign in to comment.