Update api.ts

pull/1/head
Cveinnt 2 years ago
parent 3f4c4e9a18
commit b46178e214

@ -23,7 +23,7 @@ export const getWeather = async (city: string) => {
};
export const getQuote = async () => {
const { data } = await axios.get('http://api.quotable.io/random');
const { data } = await axios.get('https://api.quotable.io/random');
return {
quote: `${data.content}” — ${data.author}`,
};

Loading…
Cancel
Save