- add tag style to status; - add button style to action links of each domain; - add Notiflix for better notification experiences
29 lines
854 B
TypeScript
29 lines
854 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
// The root route only ever forwards to /records, so it is handled at the routing layer
|
|
// instead of by a page component that calls redirect() during render. Rendering first used
|
|
// to make Next try to validate the redirect target during prerender and report a stray
|
|
// NEXT_REDIRECT error, even though the 307 itself was served correctly.
|
|
async redirects() {
|
|
return [{ source: "/", destination: "/records", permanent: false }]
|
|
},
|
|
experimental: {
|
|
agentFeedback: true,
|
|
},
|
|
cacheComponents: true,
|
|
partialPrefetching: true,
|
|
turbopack: {
|
|
rules: {
|
|
"*.css": {
|
|
loaders: ["@tailwindcss/turbopack"],
|
|
as: "*.css",
|
|
},
|
|
},
|
|
},
|
|
allowedDevOrigins: ["192.168.31.227"],
|
|
}
|
|
|
|
export default nextConfig;
|