Skip to content

Commit d73eb9e

Browse files
committed
Revert "add"
This reverts commit b24181a.
1 parent b24181a commit d73eb9e

File tree

3 files changed

+1
-66
lines changed

3 files changed

+1
-66
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

next.config.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ const nextConfig = {
99
hostname: '**', // Adjust this for production
1010
},
1111
],
12-
unoptimized: true, // Required for static export with GitHub Pages
1312
},
14-
output: 'export', // Changed from 'standalone' to 'export' for static site generation
15-
16-
// Base path for GitHub Pages
17-
basePath: '',
18-
assetPrefix: process.env.NODE_ENV === 'production' ? 'https://golangmastery.github.io' : '',
13+
output: 'standalone',
1914

2015
// Disable typescript checking temporarily
2116
typescript: {
@@ -31,9 +26,6 @@ const nextConfig = {
3126
config.resolve.fallback = { fs: false };
3227
return config;
3328
},
34-
35-
// Configure trailing slash for better compatibility with GitHub Pages
36-
trailingSlash: true,
3729
};
3830

3931
module.exports = nextConfig;

public/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)