link-stack/apps/link/next.config.js

22 lines
443 B
JavaScript
Raw Normal View History

/** @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: {
2023-05-30 09:05:40 +00:00
linkURL: process.env.LINK_URL,
2023-05-25 12:37:14 +00:00
leafcutterURL: process.env.LEAFCUTTER_URL,
2023-05-25 14:36:08 +00:00
metamigoURL: process.env.METAMIGO_URL,
2023-05-25 12:37:14 +00:00
},
2023-06-05 14:48:23 +00:00
async rewrites() {
return {
fallback: [
{
source: '/:path*',
destination: `/proxy/zammad/:path*`,
},
],
}
}
2022-12-02 10:55:56 +00:00
};
module.exports = nextConfig;