Skip to content

Commit a5785fa

Browse files
author
davidthissen
committed
Fix base path configuration for GitHub Pages
1 parent c098050 commit a5785fa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

next.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: 'export',
4-
basePath: '/portfolio',
5-
assetPrefix: '/portfolio/',
4+
basePath: '',
5+
assetPrefix: '',
66
trailingSlash: true,
77
distDir: 'out',
88
images: {
99
unoptimized: true,
10-
domains: ['localhost'],
1110
},
1211
reactStrictMode: true,
1312
typescript: {

0 commit comments

Comments
 (0)