File size: 343 Bytes
7948ff4
e5c2fd4
 
 
 
43dd1ac
 
 
 
 
 
 
 
 
 
e5c2fd4
7948ff4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    serverActions: true,
  },

  async redirects() {
    return [
      {
        source: '/api/download/:id*',
        destination: `${process.env.VC_VIDEOCHAIN_API_URL}/download/:id*`,
        permanent: true,
      },
    ]
  },
}

module.exports = nextConfig