fix: update baseUrl for prod
This commit is contained in:
1 parent
d086642ae2
commit
c605414f73
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user