瀏覽代碼

fix pathmap

AykutSarac 2 年之前
父節點
當前提交
107a61c5fc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      next.config.js

+ 2 - 2
next.config.js

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