From 32939099e6562b4e9152d33a448ea77215ed380f Mon Sep 17 00:00:00 2001 From: SeungYongShim Date: Sun, 3 Mar 2024 10:27:55 +0900 Subject: [PATCH] . --- src/VncApp/Components/Pages/Home.razor | 4 +++- src/VncApp/Program.cs | 4 ++-- src/VncApp/Properties/launchSettings.json | 15 --------------- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/src/VncApp/Components/Pages/Home.razor b/src/VncApp/Components/Pages/Home.razor index 9001e0b..93e99b6 100644 --- a/src/VncApp/Components/Pages/Home.razor +++ b/src/VncApp/Components/Pages/Home.razor @@ -1,7 +1,9 @@ -@page "/" +@page "/" Home

Hello, world!

Welcome to your new app. + +VNC diff --git a/src/VncApp/Program.cs b/src/VncApp/Program.cs index 67c0574..d0a2f87 100644 --- a/src/VncApp/Program.cs +++ b/src/VncApp/Program.cs @@ -4,7 +4,7 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. -builder.Services.AddRazorComponents() .AddInteractiveServerComponents(); +builder.Services.AddRazorComponents().AddInteractiveServerComponents(); var app = builder.Build(); @@ -18,6 +18,6 @@ app.UseStaticFiles(); app.UseAntiforgery(); -app.MapRazorComponents() .AddInteractiveServerRenderMode(); +app.MapRazorComponents().AddInteractiveServerRenderMode(); app.Run(); diff --git a/src/VncApp/Properties/launchSettings.json b/src/VncApp/Properties/launchSettings.json index 78de610..86f46f9 100644 --- a/src/VncApp/Properties/launchSettings.json +++ b/src/VncApp/Properties/launchSettings.json @@ -1,13 +1,5 @@ { "$schema": "http://json.schemastore.org/launchsettings.json", - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:20205", - "sslPort": 0 - } - }, "profiles": { "http": { "commandName": "Project", @@ -17,13 +9,6 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } } } }