소스 검색

update pathmap

AykutSarac 2 년 전
부모
커밋
b0919941c6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      next.config.js

+ 2 - 1
next.config.js

@@ -7,7 +7,8 @@ const nextConfig = {
   reactStrictMode: true,
   exportPathMap: () => ({
     "/": { page: "/" },
-    "/editor": { page: "/Editor" },
+    "/editor": { page: "/Editor", query: { title: "json" } },
+    "/widget": { page: "/widget", query: { title: "json" } },
   }),
   compiler: {
     styledComponents: true,