Skip to content

Commit c884c67

Browse files
Merge pull request #15 from OceanParcels/removing_basepath_nextconfig
Revert attempts to fix GitHub pages environment
2 parents 962b468 + f8a6e96 commit c884c67

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

next.config.mjs

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

2524
export default withMDX(nextConfig)

src/components/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Layout = ({
1515
description,
1616
card,
1717
children,
18-
url = 'https://oceanparcels.github.io/virtualship_website/',
18+
url = 'https://oceanparcels.org', // TODO: Update to the new domain
1919
enableBanner = false,
2020
}) => {
2121
// Track page views
@@ -33,7 +33,7 @@ export const Layout = ({
3333
// Determine the base URL based on the environment
3434
const baseUrl =
3535
process.env.NODE_ENV === 'production'
36-
? 'https://oceanparcels.github.io/virtualship_website/'
36+
? 'https://oceanparcels.org' // TODO: Update to the new domain
3737
: 'http://localhost:3000'
3838

3939
// Construct the full card URL

0 commit comments

Comments
 (0)