Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
add small logging for when loading graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialCrafter committed Feb 5, 2024
1 parent daa65a7 commit 5a1b28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/Graph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
let graphElement;
const loadGraph = () => {
console.log('Loading graph');
fetch(`${PUBLIC_ALGORITHM_SERVER_URI}/${path}`, { headers: { Authorization: token } })
.then(response => response.blob())
.then(data => (graphElement.src = window.URL.createObjectURL(data)))
Expand Down

0 comments on commit 5a1b28c

Please sign in to comment.