sorting
This commit is contained in:
parent
25a59b6b39
commit
f20ddd5640
3 changed files with 2 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import axios from 'axios';
|
||||
import { getLinkByIMDB, getMovieCasts, getMovieDetail } from '../../../lib/tmdb'
|
||||
|
||||
export default async function handler(req, res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue