Skip to content

Commit

Permalink
Merge pull request #15 from robinmitra/fix-quote-api
Browse files Browse the repository at this point in the history
Correct the Quote API URL!
  • Loading branch information
robinmitra authored Jun 14, 2019
2 parents 57b3971 + b055a90 commit 6b84ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gimme-quote",
"version": "0.2.1",
"version": "0.2.2",
"description": "A minimal desktop app for getting your dose of famous quotes.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/quoteService.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let remainingQuotes = [];
let reset = false;

exports.initialise = () => axios
.get('https://gimme-quote.robinmitra.now.sh/')
.get('https://gimme-quote.robinmitra.now.sh/api/quote')
.then(res => {
quotes = res.data
.filter(({ quote }) => quote.length < 100)
Expand Down

0 comments on commit 6b84ef9

Please sign in to comment.