forked from debridmediamanager/debrid-media-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
37 lines (36 loc) · 861 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
minimumCacheTTL: 60 * 60 * 24 * 30, // 30 days
remotePatterns: [
{
protocol: 'https',
hostname: 'image.tmdb.org',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'picsum.photos',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'm.media-amazon.com',
port: '',
pathname: '/**',
},
],
},
reactStrictMode: false,
publicRuntimeConfig: {
// Will be available on both server and client
externalSearchApiHostname: process.env.EXTERNAL_SEARCH_API_HOSTNAME,
realDebridHostname: '/api/anticors?url=https://api.real-debrid.com',
allDebridHostname: '/api/anticors?url=https://api.alldebrid.com',
allDebridAgent: 'debridMediaManager',
},
};
module.exports = nextConfig;