From 567e4a7569fb61a09c4a4d18507bd12d2573a6a3 Mon Sep 17 00:00:00 2001 From: Martin Hradil Date: Tue, 5 Nov 2024 01:30:44 +0000 Subject: [PATCH] serve pulp-ui-config to cypress too --- .github/workflows/cypress.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index f21f24ef..c7f16dd2 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -92,7 +92,8 @@ jobs: --rewrite '/extensions/(.*) -> http://localhost:8080/extensions/$1' \ --rewrite '/pulp/(.*) -> http://localhost:8080/pulp/$1' \ --rewrite '/static/rest_framework/(.*) -> http://localhost:8080/static/rest_framework/$1' \ - --rewrite '/v2/(.*) -> http://localhost:8080/v2/$1' & + --rewrite '/v2/(.*) -> http://localhost:8080/v2/$1' \ + --rewrite '/pulp-ui-config.json -> /static/pulp_ui/pulp-ui-config.json' & - name: 'Ensure index.html uses the new js' run: |