gristlabs_grist-core/static
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
..
icons (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
img (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
locales (core) add a /welcome/start endpoint that forwards sensibly 2023-03-22 15:33:53 -04:00
ui-icons (core) Add initial tutorials implementation 2023-03-22 10:09:02 -04:00
account.html (core) i18 2022-09-29 18:02:09 +02:00
activation.html (core) i18 2022-09-29 18:02:09 +02:00
app.html (core) i18 2022-09-29 18:02:09 +02:00
custom-widget.html
custom.css (core) Add config to include custom CSS 2022-05-12 11:13:52 -07:00
error.html (core) i18 2022-09-29 18:02:09 +02:00
hljs.default.css
index.html
message.html