Skip to content

Commit

Permalink
#1 Fix for local URL
Browse files Browse the repository at this point in the history
  • Loading branch information
haarli committed Jul 20, 2021
1 parent 634004a commit 4b2f0cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ public void init() {

@GET
@Path("ror")
public Response queryGridData(@QueryParam("q") String queryString) throws Exception
public Response queryRorData(@QueryParam("q") String queryString) throws Exception
{
logger.info(queryString);
try {
final StringBuilder sbb = new StringBuilder();
sbb.append("autosuggest:(");
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@
let autocompleteWidget = $(this).autocomplete({
source: function (request, response) {
$.ajax({
url: "http://localhost:8080/api/controlledvocabulary/ror",
url: "/api/controlledvocabulary/ror",
dataType: "json",
data: {
q: request.term
Expand Down

0 comments on commit 4b2f0cd

Please sign in to comment.