Skip to content

Broken when behind a proxy with a path other than / #177

Closed
@smola

Description

@smola

I'm trying to access a bblfsh-web instance with Kubernetes proxy, which generates a URL like this: http://localhost:8080/api/v1/namespaces/mynamespace/services/bblfsh-web-bblfsh-web/proxy/

Since all assets as well as the API are referenced as absolute paths, this breaks the logo image as well as all API calls. For example, clicking on parse will give a 404 error, since it tries http://localhost:8080/api/parse.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions