diff --git a/next.config.ts b/next.config.ts index 9d8aa9583..0c3738433 100644 --- a/next.config.ts +++ b/next.config.ts @@ -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); diff --git a/src/app/[orgId]/settings/logs/access/page.tsx b/src/app/[orgId]/settings/logs/access/page.tsx index 267ad8556..a6cb87fc8 100644 --- a/src/app/[orgId]/settings/logs/access/page.tsx +++ b/src/app/[orgId]/settings/logs/access/page.tsx @@ -343,8 +343,8 @@ export default function GeneralPage() {