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;
