From 84e177b1e13fd6cc6e360061e9016a19613fa0b1 Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Wed, 4 Sep 2024 15:24:40 +0200 Subject: [PATCH 1/2] feat: default block mapstore proxy --- mapstore/proxy.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapstore/proxy.properties b/mapstore/proxy.properties index e9c248f3..22f1b59a 100644 --- a/mapstore/proxy.properties +++ b/mapstore/proxy.properties @@ -19,7 +19,7 @@ defaultStreamByteSize=1024 # hostname whitelist limit the accepted requesting hosts (where the client application is hosted), to avoid the proxy being used by anyone # you should set the list to accept only the host(s) where mapstore is deployed -#hostnameWhitelist = localhost,demo1.geo-solutions.it,demo.geo-solutions.it +hostnameWhitelist = demo.geo-solutions.it # mimetype whitelist limit the accepted values for the contentype header in response from the proxied host mimetypeWhitelist = application/force-download,text/html,text/plain,application/xml,text/xml,application/vnd.ogc.sld+xml,application/vnd.ogc.gml,application/json,application/vnd.ogc.wms_xml,application/x-www-form-urlencoded,image/png,application/pdf,text/csv,application/zip,text/csv;charset=UTF-8 From 2d0d30a6957992c7b2c6fb1c6f5acc0bd2079c8e Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Wed, 4 Sep 2024 15:28:04 +0200 Subject: [PATCH 2/2] runs only if merged --- .github/workflows/backport.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 9905c591..429bb924 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -7,6 +7,7 @@ on: jobs: backport: name: Backport PR + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - name: Backport Action