link-stack/apps/link/next.config.js
2023-05-25 12:37:14 +00:00

17 lines
339 B
JavaScript

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