From 073db8c7ba58810a70896cd0cab9bc90fc74b569 Mon Sep 17 00:00:00 2001 From: Hyunmin Choi Date: Sun, 2 Nov 2025 12:50:50 +0900 Subject: [PATCH 01/12] ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com --- ...tatic-web-apps-green-glacier-0df749200.yml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/azure-static-web-apps-green-glacier-0df749200.yml diff --git a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml new file mode 100644 index 0000000..db101b1 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml @@ -0,0 +1,46 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - feature/129 + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - feature/129 + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + lfs: false + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### + # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig + app_location: "/" # App source code path + api_location: "" # Api source code path - optional + output_location: "build" # Built app content directory - optional + ###### End of Repository/Build Configurations ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} + action: "close" From 77f9382b4c3529c835eda4dba0404f65f528d01a Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 12:52:18 +0900 Subject: [PATCH 02/12] =?UTF-8?q?fix:=20=EB=94=94=EB=A0=89=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=20=EA=B2=BD=EB=A1=9C=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../azure-static-web-apps-green-glacier-0df749200.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml index db101b1..2acb817 100644 --- a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml +++ b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml @@ -25,12 +25,12 @@ jobs: with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" + action: 'upload' ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path - api_location: "" # Api source code path - optional - output_location: "build" # Built app content directory - optional + app_location: '/' # App source code path + api_location: '' # Api source code path - optional + output_location: 'dist' # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: @@ -43,4 +43,4 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} - action: "close" + action: 'close' From c899b2392bb27a946e48c6680209e3df98239c41 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:00:22 +0900 Subject: [PATCH 03/12] =?UTF-8?q?fix:=20CI/CD=20=ED=8C=8C=EC=9D=B4?= =?UTF-8?q?=ED=94=84=EB=9D=BC=EC=9D=B8=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...tatic-web-apps-green-glacier-0df749200.yml | 46 -------------- .github/workflows/deploy.yml | 61 ++++++------------- 2 files changed, 19 insertions(+), 88 deletions(-) delete mode 100644 .github/workflows/azure-static-web-apps-green-glacier-0df749200.yml diff --git a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml deleted file mode 100644 index 2acb817..0000000 --- a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - feature/129 - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - feature/129 - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - lfs: false - - name: Build And Deploy - id: builddeploy - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: 'upload' - ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### - # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: '/' # App source code path - api_location: '' # Api source code path - optional - output_location: 'dist' # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} - action: 'close' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2607555..cc8ff1e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,54 +1,31 @@ -name: Release CI/CD +name: Azure Static Web Apps CI/CD on: push: branches: - - main + - feature/129 jobs: - build: + build_and_deploy_job: runs-on: ubuntu-latest - + name: Build and Deploy Job steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v3 with: + submodules: true + lfs: false fetch-depth: 0 fetch-tags: true - - - name: Set up Node.js - uses: actions/setup-node@v3 + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 with: - node-version: '20.11.1' - - - name: Install Dependencies - run: npm ci - - - name: Build - env: - VITE_GA_ID: ${{ secrets.VITE_GA_ID }} - run: unset CI && npm run build - - - name: Create Deployment Package - run: zip -qq -r ./build.zip . - shell: bash - - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} - - - name: Upload to S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - run: aws s3 cp --region ap-northeast-2 ./build.zip s3://smunity/build.zip - - - name: Deploy - run: aws deploy create-deployment - --application-name smunity - --deployment-config-name CodeDeployDefault.AllAtOnce - --deployment-group-name smunity-web - --s3-location bucket=smunity,key=build.zip,bundleType=zip + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: 'upload' + ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### + # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig + app_location: '/' # App source code path + api_location: '' # Api source code path - optional + output_location: 'dist' # Built app content directory - optional + ###### End of Repository/Build Configurations ###### From 43e10aca2d4bb0cb3173e2bbb553b33cf3d06179 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:14:06 +0900 Subject: [PATCH 04/12] =?UTF-8?q?refactor:=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EB=A6=AC=ED=8C=A9=ED=86=A0=EB=A7=81=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc8ff1e..462dcb7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,11 +21,7 @@ jobs: uses: Azure/static-web-apps-deploy@v1 with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) action: 'upload' - ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### - # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: '/' # App source code path - api_location: '' # Api source code path - optional - output_location: 'dist' # Built app content directory - optional - ###### End of Repository/Build Configurations ###### + app_location: '/' + api_location: '' + output_location: 'dist' From f5e08455ac532a3ba66c8094590c40aa71d72bac Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:14:18 +0900 Subject: [PATCH 05/12] =?UTF-8?q?chore:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 public/staticwebapp.config.json diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json new file mode 100644 index 0000000..adca9d1 --- /dev/null +++ b/public/staticwebapp.config.json @@ -0,0 +1,33 @@ +{ + "routes": [ + { + "route": "/api/*", + "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], + "rewrite": "https://smunity.co.kr/api/{*rest}" + }, + { + "route": "/grafana/*", + "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], + "rewrite": "https://smunity.co.kr/grafana/{*rest}" + }, + { + "route": "/actuator/info", + "methods": ["GET"], + "rewrite": "https://smunity.co.kr/actuator/info" + } + ], + "navigationFallback": { + "rewrite": "/index.html", + "exclude": ["/assets/*", "/*.css", "/*.js", "/*.png", "/*.jpg", "/*.svg", "/*.ico"] + }, + "responseOverrides": { + "404": { + "rewrite": "/index.html", + "statusCode": 200 + } + }, + "globalHeaders": { + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "DENY" + } +} From 282e82d865574fa113d7ec2db3351258f466a8c7 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:26:22 +0900 Subject: [PATCH 06/12] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json index adca9d1..0dfbf1e 100644 --- a/public/staticwebapp.config.json +++ b/public/staticwebapp.config.json @@ -18,7 +18,18 @@ ], "navigationFallback": { "rewrite": "/index.html", - "exclude": ["/assets/*", "/*.css", "/*.js", "/*.png", "/*.jpg", "/*.svg", "/*.ico"] + "exclude": [ + "/assets/*", + "/*.css", + "/*.js", + "/*.png", + "/*.jpg", + "/*.svg", + "/*.ico", + "/api/*", + "/grafana/*", + "/actuator/info" + ] }, "responseOverrides": { "404": { From 63a64eb3cebd7eb7ca2c79727d59a812421872f5 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:34:57 +0900 Subject: [PATCH 07/12] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json index 0dfbf1e..458c6df 100644 --- a/public/staticwebapp.config.json +++ b/public/staticwebapp.config.json @@ -2,34 +2,20 @@ "routes": [ { "route": "/api/*", - "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], "rewrite": "https://smunity.co.kr/api/{*rest}" }, - { - "route": "/grafana/*", - "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], - "rewrite": "https://smunity.co.kr/grafana/{*rest}" - }, { "route": "/actuator/info", - "methods": ["GET"], "rewrite": "https://smunity.co.kr/actuator/info" + }, + { + "route": "/grafana/*", + "rewrite": "https://smunity.co.kr/grafana/{*rest}" } ], "navigationFallback": { "rewrite": "/index.html", - "exclude": [ - "/assets/*", - "/*.css", - "/*.js", - "/*.png", - "/*.jpg", - "/*.svg", - "/*.ico", - "/api/*", - "/grafana/*", - "/actuator/info" - ] + "exclude": ["/assets/*", "/*.css", "/*.js", "/*.png", "/*.jpg", "/*.svg", "/*.ico"] }, "responseOverrides": { "404": { @@ -39,6 +25,7 @@ }, "globalHeaders": { "X-Content-Type-Options": "nosniff", - "X-Frame-Options": "DENY" + "X-Frame-Options": "SAMEORIGIN", + "Referrer-Policy": "strict-origin-when-cross-origin" } } From 58c441c3b13a71a563b38fda4961bf491fb85ded Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:39:50 +0900 Subject: [PATCH 08/12] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json index 458c6df..31bf1ed 100644 --- a/public/staticwebapp.config.json +++ b/public/staticwebapp.config.json @@ -1,16 +1,8 @@ { "routes": [ - { - "route": "/api/*", - "rewrite": "https://smunity.co.kr/api/{*rest}" - }, { "route": "/actuator/info", "rewrite": "https://smunity.co.kr/actuator/info" - }, - { - "route": "/grafana/*", - "rewrite": "https://smunity.co.kr/grafana/{*rest}" } ], "navigationFallback": { From bcbb3404b802232860d8251e7bdd2d639c298cce Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:42:09 +0900 Subject: [PATCH 09/12] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json index 31bf1ed..11cbc81 100644 --- a/public/staticwebapp.config.json +++ b/public/staticwebapp.config.json @@ -2,18 +2,27 @@ "routes": [ { "route": "/actuator/info", - "rewrite": "https://smunity.co.kr/actuator/info" + "methods": ["GET"], + "rewrite": "https://smunity.co.kr/actuator/info", + "headers": { + "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0", + "Pragma": "no-cache", + "Expires": "0" + } } ], "navigationFallback": { "rewrite": "/index.html", - "exclude": ["/assets/*", "/*.css", "/*.js", "/*.png", "/*.jpg", "/*.svg", "/*.ico"] - }, - "responseOverrides": { - "404": { - "rewrite": "/index.html", - "statusCode": 200 - } + "exclude": [ + "/assets/*", + "/*.css", + "/*.js", + "/*.png", + "/*.jpg", + "/*.svg", + "/*.ico", + "/actuator/*" + ] }, "globalHeaders": { "X-Content-Type-Options": "nosniff", From f4fb9a035bab5004c9894fe7c5b8edd42c42e769 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:50:35 +0900 Subject: [PATCH 10/12] =?UTF-8?q?fix:=20CI/CD=20=ED=8C=8C=EC=9D=B4?= =?UTF-8?q?=ED=94=84=EB=9D=BC=EC=9D=B8=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ploy.yml => azure-static-web-apps-green-glacier-0df749200.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{deploy.yml => azure-static-web-apps-green-glacier-0df749200.yml} (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml similarity index 100% rename from .github/workflows/deploy.yml rename to .github/workflows/azure-static-web-apps-green-glacier-0df749200.yml From e0c17b7ed5991cdd06589a12129d10100955ad74 Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 13:51:55 +0900 Subject: [PATCH 11/12] =?UTF-8?q?fix:=20CI/CD=20=ED=8C=8C=EC=9D=B4?= =?UTF-8?q?=ED=94=84=EB=9D=BC=EC=9D=B8=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/azure-static-web-apps-green-glacier-0df749200.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml index 462dcb7..c012caf 100644 --- a/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml +++ b/.github/workflows/azure-static-web-apps-green-glacier-0df749200.yml @@ -20,7 +20,7 @@ jobs: id: builddeploy uses: Azure/static-web-apps-deploy@v1 with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_GLACIER_0DF749200 }} action: 'upload' app_location: '/' api_location: '' From 450bc5eb4d42f9b76163a6d9da7b6eec7ef8846c Mon Sep 17 00:00:00 2001 From: hyunmin0317 Date: Sun, 2 Nov 2025 14:09:23 +0900 Subject: [PATCH 12/12] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9D=EC=8B=9C=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20(#129)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/staticwebapp.config.json | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json index 11cbc81..b6c3654 100644 --- a/public/staticwebapp.config.json +++ b/public/staticwebapp.config.json @@ -1,32 +1,16 @@ { "routes": [ { - "route": "/actuator/info", - "methods": ["GET"], - "rewrite": "https://smunity.co.kr/actuator/info", - "headers": { - "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0", - "Pragma": "no-cache", - "Expires": "0" - } + "route": "/api/*", + "allowedRoles": ["anonymous"], + "rewrite": "https://smunity.co.kr/api/{*path}" } ], "navigationFallback": { "rewrite": "/index.html", - "exclude": [ - "/assets/*", - "/*.css", - "/*.js", - "/*.png", - "/*.jpg", - "/*.svg", - "/*.ico", - "/actuator/*" - ] + "exclude": ["/assets/*", "/*.css", "/*.js", "/*.png", "/*.jpg", "/*.svg", "/*.ico"] }, "globalHeaders": { - "X-Content-Type-Options": "nosniff", - "X-Frame-Options": "SAMEORIGIN", - "Referrer-Policy": "strict-origin-when-cross-origin" + "X-Content-Type-Options": "nosniff" } }