forked from debridmediamanager/debrid-media-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
69 lines (68 loc) · 1.45 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/** @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: '/**',
},
{
protocol: 'https',
hostname: 'static.debridmediamanager.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'images.metahub.space',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'fakeimg.pl',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'media.kitsu.io',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'cdn.myanimelist.net',
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',
realDebridClientId: 'X245A4XAIBGVM',
allDebridHostname: 'https://api.alldebrid.com',
allDebridAgent: 'debridMediaManager',
traktClientId: '8a7455d06804b07fa25e27454706c6f2107b6fe5ed2ad805eff3b456a17e79f0',
},
};
module.exports = nextConfig;