Skip to content

Commit

Permalink
Attempting to use experimental baseUrl instead of previous workaround
Browse files Browse the repository at this point in the history
which is known not to work vercel/next.js#4998
  • Loading branch information
RyanPridgeon committed Apr 3, 2020
1 parent 77639da commit 929ad05
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 2,268 deletions.
2 changes: 1 addition & 1 deletion components/Header.js
@@ -1,4 +1,4 @@
import Link from '../components/Link'
import Link from 'next/link'
import { Navbar, Nav, Container } from 'react-bootstrap'

export default function Header() {
Expand Down
16 changes: 0 additions & 16 deletions components/Link.js

This file was deleted.

5 changes: 2 additions & 3 deletions next.config.js
@@ -1,6 +1,5 @@
module.exports = {
assetPrefix: process.env.BASE_PATH || '',
publicRuntimeConfig: {
basePath: process.env.BASE_PATH || '',
experimental: {
basePath: process.env.BASE_PATH || ''
}
}

0 comments on commit 929ad05

Please sign in to comment.