From 02c17f86797b3c0db1977cd930837671324a52db Mon Sep 17 00:00:00 2001 From: ner Date: Sat, 19 Aug 2023 13:41:37 +0300 Subject: [PATCH] fix: prod baseUrl --- network/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/index.ts b/network/index.ts index b21ef77..b884aae 100644 --- a/network/index.ts +++ b/network/index.ts @@ -1,7 +1,7 @@ import axios, { AxiosResponse } from 'axios'; const client = axios.create({ - baseURL: `${process.env.NODE_ENV === 'development' ? 'http://' : 'http://'}${ + baseURL: `${process.env.NODE_ENV === 'development' ? 'http://' : 'https://'}${ process.env.NEXT_PUBLIC_MOVIE_ADVISOR_BASE }/api`, withCredentials: true