Added option to disable the client hosting of the api server

This commit is contained in:
Masu Baumgartner
2024-11-03 19:20:51 +01:00
parent b73c3ebfb3
commit 17a4e7ec14
5 changed files with 31 additions and 7 deletions

View File

@@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>

View File

@@ -131,8 +131,10 @@ else
$"&redirect_uri={authStartData.RedirectUri}" +
$"&response_type=code";
//Navigation.NavigateTo(uri, true);
//return;
Navigation.NavigateTo(uri, true);
return;
// TODO: Make this configurable
try
{