feat: rebuild fiscal clone architecture and harden coolify deployment
This commit is contained in:
@@ -4,7 +4,19 @@ const nextConfig = {
|
||||
output: 'standalone',
|
||||
env: {
|
||||
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001'
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: '/auth/:path*',
|
||||
headers: [
|
||||
{ key: 'Cache-Control', value: 'no-store, no-cache, max-age=0, must-revalidate' },
|
||||
{ key: 'Pragma', value: 'no-cache' },
|
||||
{ key: 'Expires', value: '0' }
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user