Skip to content

Conversation

@7474
Copy link
Owner

@7474 7474 commented Jul 26, 2020

No description provided.

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://icy-stone-037d9d81e-25.westus2.azurestaticapps.net

@7474
Copy link
Owner Author

7474 commented Jul 26, 2020

クライアントコードの配信とサーバサイドが同じドメインでないとダメな認証の構成なのだった。
完全に前提条件を忘れていた。

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Could not load settings from '_configuration/BlazorMultiComputerVisionWebasm.Client'
      Error: Could not load settings from '_configuration/BlazorMultiComputerVisionWebasm.Client'
          at Function.createUserManager (https://icy-stone-037d9d81e-25.westus2.azurestaticapps.net/_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js:1:5893)

dotnet/aspnetcore#21327

"routes": [
{
"route": "/*",
"serve": "/index.html"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ルートの設定自体はこんなもんでいい。
(ちゃんと index.html に行った)

https://docs.microsoft.com/ja-jp/azure/static-web-apps/routes#fallback-routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants