Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
seungyongshim committed Mar 3, 2024
1 parent 5c64520 commit 3293909
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
4 changes: 3 additions & 1 deletion src/VncApp/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@page "/"
@page "/"

<PageTitle>Home</PageTitle>

<h1>Hello, world!</h1>

Welcome to your new app.

<a href="/vnc.html">VNC</a>
4 changes: 2 additions & 2 deletions src/VncApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -18,6 +18,6 @@
app.UseStaticFiles();
app.UseAntiforgery();

app.MapRazorComponents<App>() .AddInteractiveServerRenderMode();
app.MapRazorComponents<App>().AddInteractiveServerRenderMode();

app.Run();
15 changes: 0 additions & 15 deletions src/VncApp/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -17,13 +9,6 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

0 comments on commit 3293909

Please sign in to comment.