mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
52cdd7e572
* - set a custom cookie to tell the toolbar we're logged in - make other cookies secure * skip adding new toolbar cookie on API requests * fix demo page local https * enable/disable secure cookies as needed * show django toolbar only for API requests * update posthog-js and kea versions * satisfy mypy * add SECURE_COOKIES=0 to cypress tests, since they run over HTTP * revert kea version * add test for toolbar cookie middleware * try something for cypress * add debug * add cypress-terminal-report for better logging * fix demo api_url * revert previous change that triggered cypress
13 lines
218 B
Bash
Executable File
13 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
|
|
|
|
export IS_BEHIND_PROXY=1
|
|
export DISABLE_SECURE_SSL_REDIRECT=1
|
|
./bin/start-worker &
|
|
./bin/start-backend &
|
|
./bin/start-frontend-https &
|
|
|
|
wait
|