Skip to content
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

Context Menu: Dropdowns do not load #31

Open
PinkyFooFoo opened this issue Apr 6, 2021 · 1 comment
Open

Context Menu: Dropdowns do not load #31

PinkyFooFoo opened this issue Apr 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@PinkyFooFoo
Copy link

PinkyFooFoo commented Apr 6, 2021

When you open the Context-Menu of the command-node, the Dropdown for the Command does not get injected with the List of avaiable Commands. The reason for that can be found in the console:

Refused to apply style from 'http://[server-ip]:1880/miio-roborock/static/css/multiple-select.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
:1880/#flow/bc3b4723.0afcd8:1 Refused to apply style from 'http://[server-ip]:1880/miio-roborock/static/css/common.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
:1880/miio-roborock/getCommands?nodeID=b6242f56.5dbe8:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:1880/#flow/bc3b4723.0afcd8:1 Refused to apply style from 'http://[server-ip]:1880/miio-roborock/static/css/multiple-select.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
:1880/#flow/bc3b4723.0afcd8:1 Refused to apply style from 'http://[server-ip]:1880/miio-roborock/static/css/common.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
:1880/miio-roborock/getCommands?nodeID=b6242f56.5dbe8:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Relates to v2.2.2
Bug found in FF.latest, Chrome.latest
Node-Red v1.2.9 (windows)

@PinkyFooFoo PinkyFooFoo added the bug Something isn't working label Apr 6, 2021
@PinkyFooFoo
Copy link
Author

It seems that the routes are not present.

Calling
http://[server-ip]:1880/miio-roborock/getVoices or
http://[server-ip]:1880/miio-roborock/getCommands [...]

aswell as the static-Files result in a
"Cannot Get" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants