28 lines
630 B
JavaScript
28 lines
630 B
JavaScript
const { withWorkflow } = require('workflow/next');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
output: 'standalone',
|
|
turbopack: {
|
|
root: __dirname
|
|
},
|
|
env: {
|
|
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || ''
|
|
},
|
|
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 = withWorkflow(nextConfig);
|