From a7c47c885b746f748b1ca3a40a01fcb24bbc64ad Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Mon, 3 Oct 2016 22:54:54 +0200 Subject: [PATCH] right i was actually gonna fix this --- content/assets/scripts/quote.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}

")