SelfhostedPro/Yacht

[Bug Report] Dashboard not loading on amd64 after going back

Jannik44 opened this issue · 3 comments

Describe the bug
Hello, i noticed multiple time that when i click on the dashboard on a container to see stats etc. and stay there for a while and then clock the "back" button to go back on the dashboard the dashboard is empty, i have to reload the entire site to make it work adgain

To Reproduce

  1. Go to the dashboard
  2. Click on a container
  3. wait like 10 mins or so
  4. click back button

Screenshots
grafik

Desktop (please complete the following information):

  • OS: linux Mint
  • Browser Firefox
  • Yacht Version v0.0.7-alpha-2022-07-27--05

This is because authorization tokens expire fairly quickly (helps prevent access if the access token is stolen by a malicious actor). You can set the following environment variable to a longer time in order to have it not log you out as quickly:

ACCESS_TOKEN_EXPIRES=2592000