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