2
0
Fork 0

Fix API URL

This commit is contained in:
Alex Kotov 2023-03-05 20:30:04 +04:00
parent 70ecd9310f
commit 703ea68efe
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
$(function() {
$('#word').each(function(index, elem) {
$.getJSON(
'http://ksenia.causa-arcana.com/api/words/' + $(elem).data('id'),
'http://localhost:4567/words/' + $(elem).data('id'),
function(data) {
var primary_form = data['primary_form']
var part_of_speech = data['part_of_speech']