Skip to content

Commit ca52695

Browse files
Merge pull request #137 from OceanParcels/patch-nextjs-conf
Patch nextjs config - production asset hosting
2 parents 6e7c8dd + f891068 commit ca52695

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

next.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ const nextConfig = {
1818
images: {
1919
domains: ["raw.githubusercontent.com", "numpy.org", "dask.org", "chainer.org"],
2020
},
21-
output: 'export',
22-
basePath: process.env.NODE_ENV === 'production' ? '/oceanparcels_website' : '',
23-
assetPrefix: process.env.NODE_ENV === 'production' ? '/oceanparcels_website/' : '',
21+
output: 'export'
2422
}
2523

2624
export default withMDX(nextConfig)

0 commit comments

Comments
 (0)