diff --git a/next.config.mjs b/next.config.mjs index 1623cb2..4f9d7f2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -18,8 +18,7 @@ const nextConfig = { images: { domains: ["raw.githubusercontent.com", "numpy.org", "dask.org", "chainer.org"], }, - output: 'export', - basePath: '/virtualship_website' // TODO: Remove once we have a domain + output: 'export' } export default withMDX(nextConfig) diff --git a/src/components/layout.js b/src/components/layout.js index 9c7cc60..60aaee6 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -15,7 +15,7 @@ export const Layout = ({ description, card, children, - url = 'https://oceanparcels.github.io/virtualship_website/', + url = 'https://oceanparcels.org', // TODO: Update to the new domain enableBanner = false, }) => { // Track page views @@ -33,7 +33,7 @@ export const Layout = ({ // Determine the base URL based on the environment const baseUrl = process.env.NODE_ENV === 'production' - ? 'https://oceanparcels.github.io/virtualship_website/' + ? 'https://oceanparcels.org' // TODO: Update to the new domain : 'http://localhost:3000' // Construct the full card URL