Browse Source

Build should expect /admin to be the root

pull/1886/head
Gabe Kangas 6 years ago
parent
commit
bcf9c34946
  1. 3
      web/next.config.js
  2. 2
      web/package.json

3
web/next.config.js

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
module.exports = {
basePath: "/admin",
};

2
web/package.json

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "next build && next export",
"start": "next start"
},
"dependencies": {

Loading…
Cancel
Save