mirror of https://github.com/onweru/compose.git

bb1950328
01.26.2021 5c5213307e62cc07ed94356c2357fc87f882a913
convert string concatenation to proper URL concatenation
1 files modified
2 ■■■ changed files
assets/js/search.js 2 ●●● patch | view | raw | blame | history
assets/js/search.js
@@ -195,7 +195,7 @@
}
window.addEventListener('load', function() { 
  fetch(`${rootURL}index.json`)
  fetch(new URL("index.json", rootURL).href)
  .then(response => response.json())
  .then(function(data) {
    data = data.length ? data : [];