From b46178e214434bc75c7056620071c54ebff710c5 Mon Sep 17 00:00:00 2001 From: Cveinnt <30604389+Cveinnt@users.noreply.github.com> Date: Thu, 12 May 2022 22:25:09 +0800 Subject: [PATCH] Update api.ts --- src/utils/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/api.ts b/src/utils/api.ts index c084f55..6840cac 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -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}`, };