Skip to content

Commit b1e6751

Browse files
Merge pull request #12 from OceanParcels/patch-site
Update basepath to work with GitHub pages
2 parents 6e79c7a + 0b02434 commit b1e6751

File tree

2 files changed

+1225
-919
lines changed

2 files changed

+1225
-919
lines changed

next.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const nextConfig = {
1818
images: {
1919
domains: ["raw.githubusercontent.com", "numpy.org", "dask.org", "chainer.org"],
2020
},
21-
output: 'export'
21+
output: 'export',
22+
basePath: '/virtualship_website' // TODO: Remove once we have a domain
2223
}
2324

2425
export default withMDX(nextConfig)

0 commit comments

Comments
 (0)