2023-05-25 06:30:36 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
2023-05-24 20:27:57 +00:00
|
|
|
reactStrictMode: true,
|
2023-05-25 12:37:14 +00:00
|
|
|
publicRuntimeConfig: {
|
|
|
|
|
leafcutterURL: process.env.LEAFCUTTER_URL,
|
|
|
|
|
},
|
2023-03-07 14:09:49 +00:00
|
|
|
rewrites: async () => ({
|
2023-03-01 11:02:15 +00:00
|
|
|
fallback: [
|
|
|
|
|
{
|
|
|
|
|
source: "/:path*",
|
|
|
|
|
destination: "/api/proxy/:path*",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}),
|
2022-12-02 10:55:56 +00:00
|
|
|
};
|
2023-05-25 06:30:36 +00:00
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|