diff --git a/.github/workflows/azure-static-web-apps-ashy-meadow-07943480f.yml b/.github/workflows/azure-static-web-apps-ashy-meadow-07943480f.yml deleted file mode 100644 index 8fa1194..0000000 --- a/.github/workflows/azure-static-web-apps-ashy-meadow-07943480f.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - master - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - master - -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 - - 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_ASHY_MEADOW_07943480F }} - 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" # 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_ASHY_MEADOW_07943480F }} - action: "close" diff --git a/.github/workflows/azure-static-web-apps-orange-bay-048c6830f.yml b/.github/workflows/azure-static-web-apps-orange-bay-048c6830f.yml deleted file mode 100644 index f80eb11..0000000 --- a/.github/workflows/azure-static-web-apps-orange-bay-048c6830f.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - master - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - master - -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 - - 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_ORANGE_BAY_048C6830F }} - 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" # App source code path - api_location: "api" # 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_ORANGE_BAY_048C6830F }} - action: "close" diff --git a/build/Untitled-1.json b/build/Untitled-1.json new file mode 100644 index 0000000..7956206 --- /dev/null +++ b/build/Untitled-1.json @@ -0,0 +1,25 @@ +{ + "trailingSlash": "auto", + "routes": [ + { + "route": "/proxy.pac", + "allowedRoles": ["authenticated"] + } + ], + "navigationFallback": { + "rewrite": "/index.html", + "exclude": ["/images/*.{png,jpg,gif}", "/css/*"] + }, + "globalHeaders": { + "content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; frame-ancestors 'none'; base-uri 'none';" + }, + "mimeTypes": { + ".pac": "application/x-ns-proxy-autoconfig" + }, + "responseOverrides": { + "401": { + "rewrite": "/login", + "statusCode": 302 + } + } +} \ No newline at end of file diff --git a/build/webconfig.json b/build/webconfig.json new file mode 100644 index 0000000..7956206 --- /dev/null +++ b/build/webconfig.json @@ -0,0 +1,25 @@ +{ + "trailingSlash": "auto", + "routes": [ + { + "route": "/proxy.pac", + "allowedRoles": ["authenticated"] + } + ], + "navigationFallback": { + "rewrite": "/index.html", + "exclude": ["/images/*.{png,jpg,gif}", "/css/*"] + }, + "globalHeaders": { + "content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'; frame-ancestors 'none'; base-uri 'none';" + }, + "mimeTypes": { + ".pac": "application/x-ns-proxy-autoconfig" + }, + "responseOverrides": { + "401": { + "rewrite": "/login", + "statusCode": 302 + } + } +} \ No newline at end of file diff --git a/build/webconfig.xml b/build/webconfig.xml new file mode 100644 index 0000000..a4b5999 --- /dev/null +++ b/build/webconfig.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file