assets/js/scrabble-words.js in word-games-theme-2.7.1 vs assets/js/scrabble-words.js in word-games-theme-2.7.2
- old
+ new
@@ -181,10 +181,10 @@
""
)}</div>
</div>`;
/// loader
const response = await fetch(
- `http://127.0.0.1:9000/getWords?name=${serachValue}&selecteddictionary=${selectedDictionary}`
+ `/.netlify/functions/getWords?name=${serachValue}&selecteddictionary=${selectedDictionary}`
);
const data = await response.json();
main.innerHTML = "";
getWords(data);
//getWords calling...