fix: update baseUrl for prod

This commit is contained in:
ner committed 2023-08-05 13:02:13 +03:00
1 parent d086642ae2
commit c605414f73
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import axios, { AxiosResponse } from 'axios';
const client = axios.create({
baseURL: `${process.env.NODE_ENV === 'development' ? 'http://' : 'https://'}${
process.env.NEXT_PUBLIC_VERCEL_URL
process.env.NEXT_PUBLIC_MOVIE_ADVISOR_BASE
}/api`,
withCredentials: true
});