gristlabs_grist-core/app
Paul Fitzpatrick 4de5928396 (core) when redirecting, use protocol in APP_HOME_URL if available
Summary:
Currently, Grist behind a reverse proxy will generate many
needless redirects via `http`, and can't be used with only
port 443. This diff centralizes generation of these redirects
and uses the protocol in APP_HOME_URL if it is set.

Test Plan:
manually tested by rebuilding grist-core and
doing a reverse proxy deployment that had no support for
port 80. Prior to this change, there are lots of problems;
after, the site works as expected.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3400
2022-04-28 09:13:27 -04:00
..
client (core) Raw renames 2022-04-27 22:21:55 +02:00
common (core) Raw renames 2022-04-27 22:21:55 +02:00
gen-server (core) Limit total attachment file size per document 2022-04-14 16:33:09 +02:00
plugin (core) Adding onNewRecord event for custom widgets 2022-04-12 16:51:16 +02:00
server (core) when redirecting, use protocol in APP_HOME_URL if available 2022-04-28 09:13:27 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00