Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# movie api
NEXT_PUBLIC_THE_MOVIE_DB_V3_API_KEY=9869e77f4109653412ee87a10a6d346c
NEXT_PUBLIC_THE_MOVIE_DB_V3_BASE_URL=https://api.themoviedb.org/3

# meta
NEXT_PUBLIC_BASE_URL=
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
22 changes: 16 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
module.exports = {
swcMinify: true,
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "image.tmdb.org",
port: "",
pathname: "/**",
},
],
},
reactStrictMode: true,
compiler: {
styledComponents: true,
},
images: {
unoptimized: true,
domains: ["image.tmdb.org"],
},
};
module.exports = nextConfig;
Loading