Skip to content

Commit 149ec5a

Browse files
committed
Test assetPrefix addition properly
1 parent 112b89c commit 149ec5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default (phase) => {
1818
// Map all static assets to the project URL davidde.github.io/ethblox,
1919
// instead of the base davidde.github.io domain, but only for production:
2020
basePath: isProd ? '/ethblox' : undefined,
21-
assetPrefix: '/ethblox/',
21+
assetPrefix: isProd ? '/ethblox/' : undefined,
2222

2323
async redirects() {
2424
return [

0 commit comments

Comments
 (0)