refactor(routes): move shared pages to global scope
This commit is contained in:
@@ -2,9 +2,14 @@ import { withSentryConfig } from "@sentry/nextjs";
|
||||
import type { NextConfig } from "next";
|
||||
import { withSerwist } from "@serwist/turbopack";
|
||||
|
||||
import { LEGACY_GLOBAL_ROUTE_REDIRECTS } from "./src/router/legacy-global-route-redirects";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
// Docker runs the traced runtime emitted to `.next/standalone`.
|
||||
output: "standalone",
|
||||
async redirects() {
|
||||
return [...LEGACY_GLOBAL_ROUTE_REDIRECTS];
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user