fix: Detect Pomerium proxy (#3219)

* chore: Remove unused DocumentList component

* fix: Add support for detecting Pomerium

* Refactor to avoid reading cookies on every request

* refactor: Just enable cookies for all self-hosted builds

* Remove unused userAgent

* test: Add window.env to mock
This commit is contained in:
Tom Moor
2022-03-12 15:45:57 -08:00
committed by GitHub
parent 36f90b3a46
commit d8104c6cb6
2 changed files with 10 additions and 14 deletions

View File

@@ -1 +1,2 @@
window.matchMedia = data => data;
window.matchMedia = (data) => data;
window.env = {};