Skip to content

Commit

Permalink
fix annotator not using the same server as production
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jun 22, 2024
1 parent 5c11845 commit 391ca70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/annotator_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def annotation_class_info(cls)
end
def annotation_ontology_info(ontology_url)
return {
text: @ontologies[ontology_url][:name],
text: @ontologies["#{rest_url}/ontologies/#{ontology_url.split('/').last}"][:name],
link: url_to_endpoint(ontology_url)
}
end
Expand Down

0 comments on commit 391ca70

Please sign in to comment.