fix allow setting UI _BASE path

This commit is contained in:
Ishaan Jaff 2024-06-11 18:45:07 -07:00
parent 7c23077a71
commit 757baf3fd8

View file

@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
basePath: '/ui', basePath: process.env.UI_BASE_PATH || '/ui',
}; };
nextConfig.experimental = { nextConfig.experimental = {