feat: major rewrite

the application is now rewritten in next.js. this commit also adds the ability to see trailers, did you know, more like this, etc. on title page.

BREAKING CHANGE: the whole application is rewritten from scratch.
This commit is contained in:
zyachel
2022-09-11 19:37:24 +05:30
committed by zyachel
parent 620ddf348a
commit 9891204f5a
129 changed files with 6314 additions and 4671 deletions

View File

@ -0,0 +1,14 @@
import axios from 'axios';
const axiosInstance = axios.create({
baseURL: 'https://www.imdb.com/',
timeout: 50000,
headers: {
...(process.env.AXIOS_USERAGENT && {
'User-Agent': process.env.AXIOS_USERAGENT,
}),
...(process.env.AXIOS_ACCEPT && { Accept: process.env.AXIOS_ACCEPT }),
},
});
export default axiosInstance;