Skip to content

Commit 2494103

Browse files
authored
Update next.config.js
1 parent b59a8a4 commit 2494103

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

next.config.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: "export",
4+
basePath: "/MYblog",
45
trailingSlash: true,
56
distDir: "out",
67
eslint: {
@@ -15,18 +16,7 @@ const nextConfig = {
1516
staticPageGenerationTimeout: 300,
1617
swcMinify: true,
1718
poweredByHeader: false,
18-
reactStrictMode: false,
19+
reactStrictMode: false
1920
}
2021

21-
module.exports = nextConfig
22-
// next.config.mjs
23-
/** @type {import('next').NextConfig} */
24-
const nextConfig = {
25-
output: 'export', // برای static export
26-
basePath: '/MYblog', // نام ریپوی شما در گیتهاب
27-
images: {
28-
unoptimized: true,
29-
},
30-
};
31-
32-
export default nextConfig;
22+
module.exports = nextConfig;

0 commit comments

Comments
 (0)