Skip to content

Commit

Permalink
chore: Remove basePath from next config
Browse files Browse the repository at this point in the history
  • Loading branch information
faridvatani committed Aug 29, 2024
1 parent b8deb21 commit cbe2a50
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/** @type {import('next').NextConfig} */

const isProd = process.env.NEXT_PUBLIC_NODE_ENV === "production";

const nextConfig = {
output: "standalone",
basePath: isProd ? "/ai-seo" : "",
assetPrefix: isProd ? "/ai-seo/" : "",
webpack(config) {
// Grab the existing rule that handles SVG imports
const fileLoaderRule = config.module.rules.find((rule) =>
Expand Down

0 comments on commit cbe2a50

Please sign in to comment.