use correct build paths

This commit is contained in:
Ishaan Jaff 2024-08-05 15:59:50 -07:00
parent 900e89c0ad
commit dab556660d
2 changed files with 7 additions and 7 deletions

View file

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