You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently published my Blazor WASM app to Azure static web apps. I'm using my custom build and publishing the output to Azure static web apps using the following action in yml.
- name: Publish Blazor Projectrun: dotnet publish ./Web/Web.csproj -c:Release --no-restore -o dist/Web --nologo
- uses: Azure/static-web-apps-deploy@v1with:
azure_static_web_apps_api_token: ${{ env.AZURE_STATIC_WEB_APPS_API_TOKEN }}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/swaworkflowconfigapp_location: "dist/Web/wwwroot"# App source code pathapi_location: ""# Apioutput_location: ""# Built app content directory - optionalskip_app_build: true # Skip build - optional###### End of Repository/Build Configurations ######
I have the staticwebapp.config.json placed in the wwwroot of my blazor app.
Now When I access the page, I get the following integrity error in browser console.
Here is the error screen print:
Failed to find a valid digest in the 'integrity' attribute for resource 'https://domain/staticwebapp.config.json' with computed SHA-256 integrity 'Y4zkp0LpTVetcAY96ckDWdIeBi7tMyNFMD5PDHdo+sQ='. The resource has been blocked.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently published my
Blazor WASM
app toAzure static web apps
. I'm using my custom build and publishing the output to Azure static web apps using the following action in yml.I have the
staticwebapp.config.json
placed in thewwwroot
of my blazor app.Here is the content of
staticwebapp.config.json
:Now When I access the page, I get the following integrity error in browser console.
Here is the error screen print:
Please can you assist me on what I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions