Fix API URL
This commit is contained in:
parent
70ecd9310f
commit
703ea68efe
|
@ -1,7 +1,7 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#word').each(function(index, elem) {
|
$('#word').each(function(index, elem) {
|
||||||
$.getJSON(
|
$.getJSON(
|
||||||
'http://ksenia.causa-arcana.com/api/words/' + $(elem).data('id'),
|
'http://localhost:4567/words/' + $(elem).data('id'),
|
||||||
function(data) {
|
function(data) {
|
||||||
var primary_form = data['primary_form']
|
var primary_form = data['primary_form']
|
||||||
var part_of_speech = data['part_of_speech']
|
var part_of_speech = data['part_of_speech']
|
||||||
|
|
Loading…
Reference in New Issue