tobyweston / temperature-machine

Data logger for multiple DS18B20 temperature sensors on one or more machines
Apache License 2.0
67 stars 22 forks source link

menu link error #82

Open elchivoo opened 5 years ago

elchivoo commented 5 years ago

Hey there,

I think there's an issue with links when you browse the menu For example when i go to Logs > click on my Rasp, it opens logs. Then i click on "Active connections" that is supposed to bring me to http://xx/connections, and I go to http://xx/logs/connections

tobyweston commented 5 years ago

Thanks for the report.

I see the same if I follow these steps:

  1. Click 'Logs'
  2. Click a specific log, i.e. 'kitchen'
  3. Client 'Live Connections'
  4. Should navigate to http://10.0.1.10:11900/connections but goes to http://10.0.1.10:11900/logs/connections instead 👎

Doesn't occur if you follow these steps:

  1. Click 'Logs'
  2. Client 'Live Connections'
  3. Goes to http://10.0.1.10:11900/logs/connections instead 👍

So it's something to do with more nested paths.

For reference, the UI project is in a separate GitHub repo: https://github.com/tobyweston/temperature-machine-ui