Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Build should expect /admin to be the root

Gabe Kangasbcf9c34946b5
diff --git a/web/next.config.js b/web/next.config.js
new file mode 100644
index 0000000000..5213ae8de1
--- /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 8839b0a718..1954a5b317 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": {