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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
assetPrefix: process.env.BASE_PATH || '',
publicRuntimeConfig: {
basePath: process.env.BASE_PATH || '',
experimental: {
basePath: process.env.BASE_PATH || ''
}
}
Loading

0 comments on commit 929ad05

Please sign in to comment.