diff --git a/web/next.config.js b/web/next.config.js new file mode 100644 index 000000000..5213ae8de --- /dev/null +++ b/web/next.config.js @@ -0,0 +1,3 @@ +module.exports = { + basePath: "/admin", +}; diff --git a/web/package.json b/web/package.json index 8839b0a71..1954a5b31 100644 --- a/web/package.json +++ b/web/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && next export", "start": "next start" }, "dependencies": {