Skip to content

Commit 6ef57ea

Browse files
committed
add subpath to financial sample app
1 parent ea01377 commit 6ef57ea

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<head>
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
10-
<base href="/" />
10+
<base href="/blazor-financial-dashboard/" />
1111
<link rel="stylesheet" href="https://blazor.cdn.telerik.com/blazor/8.1.1/kendo-theme-material/swatches/material-main-dark.css" />
1212
<link rel="stylesheet" href="https://unpkg.com/@@progress/kendo-theme-utils/dist/all.css" />
1313
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" />

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
app.UseHsts();
3434
}
3535

36+
app.UsePathBase("/blazor-financial-dashboard/");
37+
3638
app.UseHttpsRedirection();
3739

3840
app.UseStaticFiles();

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Properties/launchSettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
"windowsAuthentication": false,
55
"anonymousAuthentication": true,
66
"iisExpress": {
7-
"applicationUrl": "http://localhost:50496",
7+
"applicationUrl": "http://localhost:50496/blazor-financial-dashboard/",
88
"sslPort": 44397
99
}
1010
},
1111
"profiles": {
1212
"https": {
1313
"commandName": "Project",
1414
"launchBrowser": true,
15+
"launchUrl": "blazor-financial-dashboard",
1516
"applicationUrl": "https://localhost:7050;http://localhost:5078",
1617
"environmentVariables": {
1718
"ASPNETCORE_ENVIRONMENT": "Development"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy