From adfab313228d30978d0043f32cf4eb06609453c1 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 14 May 2025 23:30:29 +0100 Subject: [PATCH 1/2] Removing extra cors header --- .platform/nginx/conf.d/elasticbeanstalk/00_application.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf b/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf index 34fa539..880a287 100644 --- a/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf +++ b/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf @@ -84,7 +84,7 @@ location /api/cookbook/recipe/0057-publishing-v2-and-v3/manifest.json { proxy_hide_header x-amz-request-id; proxy_intercept_errors on; proxy_pass https://preview.iiif.io:443/cookbook/0057-conneg/recipe/0057-publishing-v2-and-v3/manifest-$version.json; - add_header 'Access-Control-Allow-Origin' '*'; + # add_header 'Access-Control-Allow-Origin' '*'; add_header 'Cache-Control' 'public, no-transform, max-age=300'; add_header "X-UA-Compatible" "IE=Edge,chrome=1"; } From 2f33374961f6b4d31849a5ae28a34c6167e32aa2 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 14 May 2025 23:32:02 +0100 Subject: [PATCH 2/2] Updating action versions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38141dd..1209dd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ${{ env.pythonLocation }} key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}