24 lines
471 B
TypeScript
24 lines
471 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
allowedDevOrigins: ["192.168.0.101"],
|
|
reactCompiler: true,
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/admin/service-desk",
|
|
destination: "/admin",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/admin/menu-permissions",
|
|
destination: "/admin",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|