diff --git a/content/assets/scripts/quote.coffee b/content/assets/scripts/quote.coffee index 43121e0..2da96ef 100644 --- a/content/assets/scripts/quote.coffee +++ b/content/assets/scripts/quote.coffee @@ -1,4 +1,4 @@ $ -> - $.getJSON 'http://localhost:3000/quotes.json', (data) -> + $.getJSON './quotes.json', (data) -> quote = data[Math.floor(Math.random()*data.length)] $('#quote').append("

#{quote.title}

#{quote.description}

")