Files
online-backend/app.go
GuwandykA 18012fcec0 Serve Swagger spec per request so it works behind a proxy prefix.
The baked-in host and basePath pointed "Try it out" at the app's own listen
address, so requests from the browser never reached the server. doc.json is
now built from the incoming request, using X-Forwarded-Prefix to restore the
path prefix nginx strips before proxying.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:42:49 +05:00

3.3 KiB
Executable File