Fix API URL
This commit is contained in:
parent
70ecd9310f
commit
703ea68efe
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue