Move proxy and client to public and private

This commit is contained in:
Owen
2026-05-31 17:30:31 -07:00
parent b99e9a6468
commit 08a2923cfc
25 changed files with 53 additions and 81 deletions
+15 -1
View File
@@ -22,7 +22,21 @@ const nextConfig: NextConfig = {
reactCompiler: true,
transpilePackages: ["@novnc/novnc"],
output: "standalone",
allowedDevOrigins
allowedDevOrigins,
async redirects() {
return [
{
source: "/:orgId/settings/resources/proxy/:path*",
destination: "/:orgId/settings/resources/public/:path*",
permanent: true
},
{
source: "/:orgId/settings/resources/client/:path*",
destination: "/:orgId/settings/resources/private/:path*",
permanent: true
}
];
}
};
export default withNextIntl(nextConfig);