Skip to content

Commit

Permalink
CI: fix Django CSRF error (#3994)
Browse files Browse the repository at this point in the history
looks like django 4 does more strict origin checking,
works with webpack proxy, but fails with local-web-server on CI

adding PULP_CSRF_TRUSTED_ORIGINS to CI env

No-Issue
  • Loading branch information
himdel authored Jul 10, 2023
1 parent 2fc792e commit 090d8dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cypress/compose.env.common
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ DEV_SOURCE_PATH=galaxy_ng
DJANGO_SUPERUSER_PASSWORD=admin
DJANGO_SUPERUSER_USERNAME=admin
ENABLE_SIGNING=1
PULP_CSRF_TRUSTED_ORIGINS='["http://localhost:8002"]'
SETUP_TEST_DATA=0
UPDATE_UI=0

0 comments on commit 090d8dd

Please sign in to comment.