Browse Source

update pathmap

AykutSarac 2 năm trước cách đây
mục cha
commit
b0919941c6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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,