gristlabs_grist-core/app
Paul Fitzpatrick 12f9567ff4 (core) add a /welcome/start endpoint that forwards sensibly
Summary:
This adds a nuanced redirecting endpoint. For example, on
docs.getgrist.com it does:

 1) If logged in and no team site -> https://docs.getgrist.com/
 2) If logged in and has team sites -> https://docs.getgrist.com/welcome/teams
 3) If logged out but has a cookie -> /login, then 1 or 2
 4) If entirely unknown -> /signup

Test Plan: added a test; tested behavior through logins manually

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3828
2023-03-22 15:33:53 -04:00
..
client (core) Fixing couple of bugs in collapsed section layout 2023-03-22 16:23:09 +01:00
common (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
gen-server (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
plugin Use relative imports only in plugin folder (#328) 2022-10-26 10:41:38 -04:00
server (core) add a /welcome/start endpoint that forwards sensibly 2023-03-22 15:33:53 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00