From 9d340863b07d687581cf0b7cfe2fbb375efa92c6 Mon Sep 17 00:00:00 2001 From: Alberto Mori Date: Thu, 20 Jun 2024 20:15:37 +0200 Subject: [PATCH] #22 - fix missing azure swa configuration file, update nuget packages --- BlazorSwa.Template.csproj | 2 +- .../BlazorSwaTemplate.Api.Isolated.csproj | 12 ++++++------ .../BlazorSwaTemplate.Client.csproj | 4 ++-- .../wwwroot/staticwebapp.config.json | 6 ++++++ 4 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 content/BlazorSwaTemplate/BlazorSwaTemplate.Client/wwwroot/staticwebapp.config.json diff --git a/BlazorSwa.Template.csproj b/BlazorSwa.Template.csproj index 4b12821..8f9e8c5 100644 --- a/BlazorSwa.Template.csproj +++ b/BlazorSwa.Template.csproj @@ -3,7 +3,7 @@ net8.0 Template - 0.3.0 + 0.3.1 BlazorSwa.Template Blazor Static Web App Template Alberto Mori diff --git a/content/BlazorSwaTemplate/BlazorSwaTemplate.Api.Isolated/BlazorSwaTemplate.Api.Isolated.csproj b/content/BlazorSwaTemplate/BlazorSwaTemplate.Api.Isolated/BlazorSwaTemplate.Api.Isolated.csproj index e5fee27..4d488ff 100644 --- a/content/BlazorSwaTemplate/BlazorSwaTemplate.Api.Isolated/BlazorSwaTemplate.Api.Isolated.csproj +++ b/content/BlazorSwaTemplate/BlazorSwaTemplate.Api.Isolated/BlazorSwaTemplate.Api.Isolated.csproj @@ -8,12 +8,12 @@ - - - - - - + + + + + + diff --git a/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/BlazorSwaTemplate.Client.csproj b/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/BlazorSwaTemplate.Client.csproj index 486370e..7586619 100644 --- a/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/BlazorSwaTemplate.Client.csproj +++ b/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/BlazorSwaTemplate.Client.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/wwwroot/staticwebapp.config.json b/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/wwwroot/staticwebapp.config.json new file mode 100644 index 0000000..423bece --- /dev/null +++ b/content/BlazorSwaTemplate/BlazorSwaTemplate.Client/wwwroot/staticwebapp.config.json @@ -0,0 +1,6 @@ +{ + "navigationFallback": { + "rewrite": "index.html", + "exclude": [ "/css/*" ] + } + } \ No newline at end of file