open-notebook/frontend
Luis Novo fc8a4a0c64
fix: resolve API_URL config routing conflict with reverse proxies (#191)
Move runtime configuration endpoint from /api/runtime-config to /_config to avoid
conflicts with reverse proxies that route all /api/* requests to the FastAPI backend.

This fixes an issue where users with reverse proxies would see port 5055 incorrectly
appended to their API_URL even when explicitly set via environment variable.

Changes:
- Move frontend/src/app/api/runtime-config/route.ts to frontend/src/app/_config/route.ts
- Update config.ts to fetch from /_config instead of /api/runtime-config
- Add troubleshooting documentation for reverse proxy users
- Update all reverse proxy examples to show correct routing (catch-all handles /_config)
- Bump version to 1.0.11

The new /_config endpoint is automatically handled by standard reverse proxy catch-all
rules (location / { proxy_pass http://frontend; }), requiring no additional configuration
for most users.

Fixes issue where API_URL environment variable was being ignored in reverse proxy setups,
causing CORS errors with "Status code: (null)" and incorrect port 5055 being added.
2025-10-21 12:06:24 -03:00
..
public Version 1 (#160) 2025-10-18 12:46:22 -03:00
src fix: resolve API_URL config routing conflict with reverse proxies (#191) 2025-10-21 12:06:24 -03:00
.gitignore chore: export docs for custom gpt 2025-10-18 20:26:11 -03:00
components.json Version 1 (#160) 2025-10-18 12:46:22 -03:00
eslint.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
next.config.ts Version 1 (#160) 2025-10-18 12:46:22 -03:00
package-lock.json feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
package.json feat: add ability to link existing sources to notebooks (OSS-311) (#177) 2025-10-19 17:52:14 -03:00
postcss.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
tailwind.config.ts Version 1 (#160) 2025-10-18 12:46:22 -03:00
tsconfig.json Version 1 (#160) 2025-10-18 12:46:22 -03:00