Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Ekaiva
150ac7ab22 first commit 2023-09-10 16:17:14 +05:30
Ekaiva
80f2adbe10 first commit 2023-09-10 15:59:41 +05:30
13 changed files with 14 additions and 13 deletions

View file

@ -9,7 +9,8 @@ const nextConfig = {
domains: ['source.unsplash.com', 'image.tmdb.org','i.therarbg.com','localhost'],
},
reactStrictMode: true,
runtime: 'edge',
distDir: "build",
}
module.exports = nextConfig

View file

@ -1,5 +1,5 @@
import { getUrl } from '../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
try {
const response = await fetch(getUrl('movie/602334/release_dates'))

View file

@ -1,5 +1,5 @@
import { getUrl2, movieNowPlaying } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, moviePopular } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, movieTopRated } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, trendingMovieDay } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, movieUpcoming } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getTvCasts, getTvDetail } from '../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, tvAiringToday } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, tvOnTheAir } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, tvPopular } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, tvTopRated } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query

View file

@ -1,5 +1,5 @@
import { getUrl2, trendingTvDay } from '../../../../lib/tmdb'
export const config = { runtime: 'edge' };
export default async function handler(req, res) {
const { id } = req.query