style: added shadcn-ui
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true
|
||||
reactStrictMode: true,
|
||||
redirects() {
|
||||
return [
|
||||
process.env.MAINTENANCE_MODE === '1'
|
||||
? {
|
||||
source: '/((?!maintenance).*)',
|
||||
destination: '/maintenance.html',
|
||||
permanent: false
|
||||
}
|
||||
: null
|
||||
].filter(Boolean);
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user