diff --git a/.github/workflows/azure-static-web-apps-red-rock-0e9d7cc03.yml b/.github/workflows/azure-static-web-apps-red-rock-0e9d7cc03.yml deleted file mode 100644 index 5387eee..0000000 --- a/.github/workflows/azure-static-web-apps-red-rock-0e9d7cc03.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - - dev - -jobs: - build_and_deploy_job: - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v4 - 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_RED_ROCK_0E9D7CC03 }} - action: 'upload' - production_branch: 'main' - ###### 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_build_command: 'npm run docs:build' - app_location: '/' - output_location: '.vitepress/dist' - skip_api_build: true - ###### End of Repository/Build Configurations ###### - \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 \ No newline at end of file diff --git a/public/_headers b/public/_headers new file mode 100644 index 0000000..9dc4230 --- /dev/null +++ b/public/_headers @@ -0,0 +1,14 @@ +/* + X-Frame-Options: SAMEORIGIN + X-XSS-Protection: 1; mode=block + X-Content-Type-Options: nosniff + X-DNS-Prefetch-Control: on + X-Download-Options: noopen + Cross-Origin-Opener-Policy: unsafe-none + Cross-Origin-Resource-Policy: same-origin + Cross-Origin-Embedder-Policy: unsafe-none + Strict-Transport-Security: max-age=31536000; includeSubDomains + Referrer-Policy: strict-origin-when-cross-origin + Access-Control-Allow-Methods: GET + Content-Security-Policy: base-uri 'self'; font-src 'self' data:; form-action 'self'; frame-ancestors 'self'; img-src 'self' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com https://*.caldn.net data:; object-src 'none'; script-src-attr 'self'; script-src 'self' 'unsafe-inline' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com; style-src 'self' 'unsafe-inline' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com https://cdn.jsdelivr.net; frame-src 'self'; upgrade-insecure-requests; + Permissions-Policy: geolocation=(),midi=(),microphone=(),camera=(),gyroscope=(*),encrypted-media=(*),payment=() diff --git a/public/staticwebapp.config.json b/public/staticwebapp.config.json deleted file mode 100644 index d80cd13..0000000 --- a/public/staticwebapp.config.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "responseOverrides": { - "404": { - "rewrite": "/404.html", - "statusCode": 404 - } - }, - "globalHeaders": { - "X-Frame-Options": "SAMEORIGIN", - "X-XSS-Protection": "1; mode=block", - "X-Content-Type-Options": "nosniff", - "X-DNS-Prefetch-Control": "on", - "X-Download-Options": "noopen", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Referrer-Policy": "strict-origin-when-cross-origin", - "Access-Control-Allow-Methods": "GET", - "Content-Security-Policy": "base-uri 'self'; font-src 'self' data:; form-action 'self'; frame-ancestors 'self'; img-src 'self' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com https://*.caldn.net https://*.paddle.com data:; object-src 'none'; script-src-attr 'self'; script-src 'self' 'unsafe-inline' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com https://*.paddle.com; style-src 'self' 'unsafe-inline' https://*.add-to-calendar-pro.com https://add-to-calendar-pro.com https://cdn.jsdelivr.net; frame-src 'self' https://*.paddle.com; upgrade-insecure-requests;", - "Permissions-Policy": "geolocation=(),midi=(),microphone=(),camera=(),gyroscope=(*),encrypted-media=(*),payment=()" - } -}