mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
Docs: move redirects to global config, remove client-side redirect page
Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
@@ -16,6 +16,10 @@ const config = {
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ["typescript", "twoslash"],
|
||||
|
||||
async redirects() {
|
||||
return redirectsConfig;
|
||||
},
|
||||
|
||||
webpack(config) {
|
||||
config.resolve.alias["@/bknd"] = path.resolve(__dirname, "../app/src");
|
||||
config.resolve.alias["@"] = path.resolve(__dirname);
|
||||
@@ -28,7 +32,6 @@ const config = {
|
||||
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
config.output = "standalone";
|
||||
config.redirects = async () => redirectsConfig;
|
||||
config.rewrites = async () => rewritesConfig;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user