fix signin signout and apply the new style

This commit is contained in:
root
2026-05-24 23:58:54 -04:00
parent bf97a072dd
commit 9bd0938951
68 changed files with 851 additions and 200 deletions
+6 -6
View File
@@ -23,14 +23,14 @@ const storagePatterns = [
.filter(Boolean)
.filter((p, i, arr) => arr.findIndex((q) => q.hostname === p.hostname && q.port === p.port) === i)
// When the dashboard is accessed via the marketplace proxy (localhost:3000/dashboard),
// the browser resolves _next/static chunk URLs relative to localhost:3000 — but those
// chunks only exist on the dashboard's own server (localhost:3001). DASHBOARD_ASSET_PREFIX
// makes Next.js embed absolute chunk URLs so the browser fetches them from the right port.
// Set in .env.docker.dev; unset for local/production (where no cross-port proxy is used).
// In Docker dev the dashboard app runs on port 3001 while the marketplace proxy
// is served from port 3000. When DASHBOARD_ASSET_PREFIX is set, Next should emit
// absolute chunk URLs so /dashboard pages load their own JS/CSS from port 3001.
const assetPrefix = process.env.DASHBOARD_ASSET_PREFIX || undefined
const nextConfig = {
basePath: '/dashboard',
...(process.env.DASHBOARD_ASSET_PREFIX ? { assetPrefix: process.env.DASHBOARD_ASSET_PREFIX } : {}),
...(assetPrefix ? { assetPrefix } : {}),
images: {
remotePatterns: [
{