You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DEFAULT_HOMEPAGE not effective when installing using PWA #677
Describe the bug
The PWA configuration currently does not take the DEFAULT_HOMEPAGE setting into account; instead, it is hardcoded to “/balances”.
To Reproduce
Steps to reproduce the behavior:
Launch Split-Pro and set DEFAULT_HOMEPAGE to “/groups”; open the page in a browser
Verify that a redirect to the path “/groups” occurs (expected behavior)
Open the website on a smartphone (the redirect still works) and install it on the device
Open the application and land on “/balances”, even though DEFAULT_HOMEPAGE was set to “/groups”
Expected behavior
Given the existence of the DEFAULT_HOMEPAGE variable, one would expect that when installing on a device with PWA functionality, a redirect to “/groups” would also occur.
Activity