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 205d2e6 commit 57e7425Copy full SHA for 57e7425
base.js
@@ -0,0 +1,2 @@
1
+const BASE_PATH = "/Blog";
2
+export default BASE_PATH;
next.config.js
@@ -1,9 +1,12 @@
+// Import the base path from the basePath.js file
+import BASE_PATH from "./basePath"; // Adjust the path if necessary
3
+
4
/** @type {import('next').NextConfig} */
5
const nextConfig = {
6
compress: true,
7
output: "export",
- basePath: "/Blog",
- assetPrefix: "/Blog/",
8
+ basePath: BASE_PATH, // Use the imported base path
9
+ // assetPrefix: `${BASE_PATH}/`,
10
};
11
-module.exports = nextConfig;
12
+export default nextConfig;
0 commit comments