This commit is contained in:
p 2023-09-13 21:01:04 +05:30
commit f20ddd5640
3 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@ export default function Layout({ children }) {
<div className='text-app-pure-white lg:flex'>
<Navigation />
<main className='mx-0 flex p-1 flex-col py-6 md:m-6 md:px-0 md:pt-0 lg:ml-[10rem] lg:min-w-[800px] lg:grow'>
<div className='py-1 md:rounded-[10px] head' style={{textAlign:"center"}}>Y.A.P.S [Yet Another Piracy Site]</div>
{children}
<Footer />
</main>

View file

@ -20,7 +20,7 @@ export function getGenre(endpoint) {
}
export function getMovieDetail(id) {
return `${TMDB_ENDPOINT}/movie/${id}?api_key=${TMDB_API_KEY}`
return `${TMDB_ENDPOINT}/movie/${id}?api_key=${TMDB_API_KEY}&append_to_response=videos,credits,recommendations`
}
export function getLinkByIMDB(id) {

View file

@ -1,4 +1,3 @@
import axios from 'axios';
import { getLinkByIMDB, getMovieCasts, getMovieDetail } from '../../../lib/tmdb'
export default async function handler(req, res) {