[Bug Report] Dashboard not loading on amd64 after going back
Jannik44 opened this issue · 3 comments
Jannik44 commented
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
- Go to the dashboard
- Click on a container
- wait like 10 mins or so
- click back button
Desktop (please complete the following information):
- OS: linux Mint
- Browser Firefox
- Yacht Version v0.0.7-alpha-2022-07-27--05
SelfhostedPro commented
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