Skip to content

Commit

Permalink
Update annotator url
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmechtel authored Feb 11, 2025
1 parent a580918 commit eeb96d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ <h3 className="text-lg font-semibold mb-2">{service.name}</h3>
const annotationSid = serviceOutput.attrs.id;
console.log("Annotation Service ID:", annotationSid);
// Create the annotator URL
const configStr = `{"server_url": "${serverUrl}", "annotation_service_id": "${annotationSid}", "token": "${token}"}`;
const configStr = `{"serverUrl": "${serverUrl}", "imageProviderId": "${annotationSid}"}`; // "token": "${token}"
const encodedConfig = encodeURIComponent(configStr);
const annotatorUrl = `https://imjoy.io/lite?plugin=${pluginUrl}&config=${encodedConfig}`;
console.log("Annotation URL:\n----------\n", annotatorUrl);
Expand Down

0 comments on commit eeb96d4

Please sign in to comment.