Files
gristlabs_grist-core/app/server/lib
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
..
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2023-01-26 09:47:14 +01:00
2022-09-29 18:02:09 +02:00
2023-01-26 09:47:14 +01:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2023-03-16 17:37:24 -04:00
2022-07-04 10:42:40 -04:00
2022-06-17 21:53:20 +02:00
2022-12-22 12:58:39 -05:00
2023-02-20 22:46:36 -05:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-04-01 15:24:19 -07:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2023-01-26 09:47:14 +01:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-08-25 12:38:36 -07:00
2022-04-27 22:21:55 +02:00
2023-01-03 17:22:58 +01:00