We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba33f6 commit a720d84Copy full SHA for a720d84
.gitignore
@@ -36,3 +36,4 @@ public/llms/react/**/llm*.txt
36
pages/docs/**/**/llms.mdx
37
38
public/playground-bundles/
39
+public/_redirects
next.config.mjs
@@ -155,8 +155,7 @@ const config = {
155
];
156
157
if (process.env.NODE_ENV === "production") {
158
- const redirectsFile = path.join(import.meta.dirname, "out/_redirects");
159
- await fs.mkdir(path.dirname(redirectsFile), { recursive: true });
+ const redirectsFile = path.join(import.meta.dirname, "public/_redirects");
160
await fs.writeFile(
161
redirectsFile,
162
redirects
0 commit comments