18 lines
382 B
JavaScript
18 lines
382 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
publicRuntimeConfig: {
|
|
leafcutterURL: process.env.LEAFCUTTER_URL,
|
|
metamigoURL: process.env.METAMIGO_URL,
|
|
},
|
|
rewrites: async () => ({
|
|
fallback: [
|
|
{
|
|
source: "/:path*",
|
|
destination: "/api/proxy/:path*",
|
|
},
|
|
],
|
|
}),
|
|
};
|
|
|
|
module.exports = nextConfig;
|