Skip to content

Commit

Permalink
fix: GBREWagvejiwfewa
Browse files Browse the repository at this point in the history
  • Loading branch information
drake-nathan committed Nov 8, 2023
1 parent 674671d commit 292e54a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
output: "standalone",
reactStrictMode: true,
swcMinify: true,
compiler: {
Expand Down Expand Up @@ -38,20 +38,20 @@ const nextConfig = {
},
],
},
// async redirects() {
// return [
// {
// source: "/project",
// destination: "/",
// permanent: true,
// },
// {
// source: "/project/:slug/token",
// destination: "/project/:slug",
// permanent: true,
// },
// ];
// },
async redirects() {
return [
{
source: "/project",
destination: "/",
permanent: true,
},
{
source: "/project/:slug/token",
destination: "/project/:slug",
permanent: true,
},
];
},
};

export default nextConfig;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "next build && next export",
"build": "next build && rm -rf ./.next/cache",
"predev": "yarn wagmi generate",
"dev": "next dev",
"devstart": "next dev",
Expand Down

0 comments on commit 292e54a

Please sign in to comment.