-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
35 lines (33 loc) · 1.04 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
/** @type {import('next').NextConfig} */
const nextConfig =
{
async rewrites() {
return [
{
source: '/api/connect',
destination: 'https://damasrv.fixip.org/connect',
},
{
source: '/api/confirmtransaction',
destination: 'https://damasrv.fixip.org/confirmtransaction',
},
{
source: '/api/confirmtransactiondevnet',
destination: 'https://damasrv.fixip.org/confirmtransactiondevnet',
},
{
source: '/api/sendtransaction',
destination: 'https://damasrv.fixip.org/sendtransaction',
},
{
source: '/api/sendtransactiondevnet',
destination: 'https://damasrv.fixip.org/sendtransactiondevnet',
},
{
source: '/api/sendemail',
destination: 'https://damasrv.fixip.org/sendemail',
},
]
},
}
module.exports = nextConfig