Skip to content

The application doesn't work well behind an http proxy #152

@jeroenvdheuvel

Description

@jeroenvdheuvel

First of all great work, I like the simplicity of the application and what it provides.

However I would like to request a change. When the TeslaBleHttpProxy sits behind an http proxy on a path that's not the root (e.g. /tesla-ble-proxy). The forms and redirects dont' work well.

For instance when going to the dashboard (e.g. /tesla-ble-proxy/dashboard) everything looks fine. However the forms themselves submit to the root (e.g. /send_key) missing the prefix /tesla-ble-proxy. This can be "fixed" by changing the form action from /send_key to send_key (remove the slash). However the redirect after the submit still goes to /dashboard.

Can we make the application aware of the path it's currently called from and make forms and redirects work even when the application isn't hosted in the root?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions