-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] New STORE_DIR env var, causes double slashes in path #385
Comments
@frenck It's strange because the url seems malformed. The path provided in the api uses Ref: https://github.com/zwave-js/zwavejs2mqtt/blob/master/src/apis/ConfigApis.js#L50 Could be it something related to the browser? |
Tested and it's working on my side:
|
Interesting, so somewhere along the reverse proxy path it may go south then? I Will look further into this, do you mind keeping this open for now? I'll report back with more information, or close in case resolved. |
It may, yes. |
Sorry closed by error |
@frenck Did you fixed this? BTW I can confirm it's not on my side |
Just FYI: It is not fixed, workaround is downloading the files. |
Before submitting a bug please read: https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report
Version
Build/Run method
zwavejs2mqtt version: 1.0.0-rc.1
zwavejs version: 6.1.0
Describe the bug
Set
STORE_DIR
to e.g.,/data/store
Resulting get requests caused by frontend store feature:
Result:
/api/store//data/store/settings.json
To Reproduce
See above.
Expected behavior
Not a 404
Additional context
Downstream issue: hassio-addons/addon-zwave-js-ui#4
Downstream code setting the store path:
https://github.com/hassio-addons/addon-zwavejs2mqtt/blob/265db1f06d1e6e7fb4162242195e3d98038c73df/zwavejs2mqtt/rootfs/etc/services.d/zwavejs2mqtt/run#L10
The text was updated successfully, but these errors were encountered: