- Add company logo to login page and all sidebar variants - Configure Next.js rewrites to proxy /api/* to backend - Enable external access via Cloudflare Zero Trust tunnel Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
383 B
JavaScript
19 lines
383 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ['@horux/shared'],
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://localhost:4000/api/:path*',
|
|
},
|
|
{
|
|
source: '/health',
|
|
destination: 'http://localhost:4000/health',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|