Skip to content

Commit

Permalink
Merge pull request #18 from steve-bate/yasgui-fix
Browse files Browse the repository at this point in the history
Fixed issue with yasgui
  • Loading branch information
vemonet authored Nov 28, 2023
2 parents 2aa120a + 657419a commit b6cd6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdflib_endpoint/yasgui.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div id="yasgui"></div>
<script>
Yasqe.defaults.value = `$EXAMPLE_QUERY`
const queries_obj = $EXAMPLE_QUERIES
const queries_obj = $EXAMPLE_QUERIES || []

const url = window.location.href.endsWith('/') ? window.location.href.slice(0, -1) : window.location.href;
// Make sure the endpoints list is unique
Expand Down

0 comments on commit b6cd6fd

Please sign in to comment.