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?
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_keytosend_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?