Beautiful Open-Source Form Builder
Fix runtime icon routing for self-hosted deployments (#1330)
Julien Nahumf66fab1b0162
diff --git a/client/nuxt.config.ts b/client/nuxt.config.tsindex 5403d247b..1fa60f6fe 100644--- a/client/nuxt.config.ts+++ b/client/nuxt.config.ts@@ -168,6 +168,8 @@ export default defineNuxtConfig({},icon: {+ // Keep Nuxt's icon endpoint outside /api, which proxies route to Laravel.+ localApiEndpoint: '/_nuxt_icon',// Managed E2E worktrees place buildDir outside client/node_modules, so// locally-installed JSON collections cannot be resolved at runtime there.serverBundle: (isE2EMode || buildDir) ? 'remote' : 'auto',diff --git a/docs/deployment/docker.mdx b/docs/deployment/docker.mdxindex 13a1ae9fd..0d24972d5 100644--- a/docs/deployment/docker.mdx+++ b/docs/deployment/docker.mdx@@ -245,6 +245,17 @@ docker compose ps## Troubleshooting+### Missing icons in the admin area++Runtime icons are served by the Nuxt client at `/_nuxt_icon/`. If you use a+custom reverse proxy, forward this path to the client on port 3000, alongside+other frontend requests. Keep `/api/` routed to Laravel. The bundled ingress+already handles this routing.++If icon requests still use `/api/_nuxt_icon/`, update your client image to a+release containing the endpoint fix and reload the page. If you build your own+image, rebuild the client after updating `client/nuxt.config.ts`.+### Container IssuesIf containers aren't starting: