diff --git a/README.md b/README.md index c455ecb..77f51c7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -This is [Movie advisor](https://nextjs.org/), project which can help you find movie for your lonely evening. +This is [Movie advisor](https://movie-advisor.vercel.app/), project which can help you find movie for your lonely evening. Powered by [NextJS](https://nextjs.org/), [TMDB](https://developer.themoviedb.org/docs) and a little bit [OpenAI](https://openai.com/blog/openai-api) \ No newline at end of file diff --git a/network/index.ts b/network/index.ts index 85b8baa..b884aae 100644 --- a/network/index.ts +++ b/network/index.ts @@ -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 });