-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.config.js
37 lines (36 loc) · 961 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 = {
compiler: {
// ssr and displayName are configured by default
styledComponents: true,
},
async redirects() {
return [
{
source: "/market-place",
destination: "/market-place/free",
permanent: false,
},
];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "ipfs.io",
port: "",
pathname: "/**",
},
],
},
env: {
NEXT_PUBLIC_WEB3_AUTH_CLIENT_ID: process.env.WEB3_AUTH_CLIENT_ID,
NEXT_PUBLIC_ALCHEMY_API_KEY: process.env.ALCHEMY_API_KEY,
NEXT_PUBLIC_PRIVATE_KEY: process.env.PRIVATE_KEY,
NEXT_PUBLIC_PINATA_API_KEY: process.env.PINATA_API_KEY,
NEXT_PUBLIC_PINATA_SECRET: process.env.PINATA_SECRET,
NEXT_PUBLIC_PINATA_JWT: process.env.PINATA_JWT,
NEXT_PUBLIC_PINATA_GATEWAY_URL: process.env.PINATA_GATEWAY_URL,
},
};
module.exports = nextConfig;