Save current BZZZ config-ui state before CHORUS branding update

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-19 00:19:00 +10:00
parent 6a6a49b7b1
commit c177363a19
16410 changed files with 1789161 additions and 230 deletions

View File

@@ -1,17 +1,30 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
// Export as static site for embedding in Go binary
output: 'export',
trailingSlash: true,
distDir: 'out',
// Disable image optimization for static export
images: {
unoptimized: true
},
// Configure for embedded serving
assetPrefix: process.env.NODE_ENV === 'production' ? '/setup' : '',
basePath: process.env.NODE_ENV === 'production' ? '/setup' : '',
// API routes will be handled by Go server
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8081/api/:path*'
}
]
if (process.env.NODE_ENV === 'development') {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8080/api/:path*'
}
]
}
return []
}
}