gristlabs_grist-core/app
Paul Fitzpatrick 2563fb745a (core) make Grist easier to run with a single server
Summary:
This makes many small changes so that Grist is less fussy to run as a single instance behind a reverse proxy. Some users had difficulty with the self-connections Grist would make, due to internal network setup, and since these are unnecessary in any case in this scenario, they are now optimized away. Likewise some users had difficulties related to doc worker urls, which are now also optimized away. With these changes, users should be able to get a lot further on first try, at least far enough to open and edit documents.

The `GRIST_SINGLE_ORG` setting was proving a bit confusing, since it appeared to only work when set to `docs`. This diff
adds a check for whether the specified org exists, and if not, it creates it. This still depends on having a user email to make as the owner of the team, so there could be remaining difficulties there.

Test Plan: tested manually with nginx

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3299
2022-03-05 13:30:45 -05:00
..
client (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
common (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
gen-server (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
plugin Correct spelling mistakes 2022-02-19 09:46:49 +00:00
server (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00