Explorar el Código

update pathmap

AykutSarac hace 2 años
padre
commit
b0919941c6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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,