Skip to content

Commit 0930e27

Browse files
committed
the real fix for sidebar footer build info
1 parent 43a9608 commit 0930e27

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.vscode/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
1616
},
1717
"env": {
18-
"ASPNETCORE_ENVIRONMENT": "Development"
18+
"ASPNETCORE_ENVIRONMENT": "Development",
19+
"ASPNETCORE_URLS": "https://localhost:7179;http://localhost:5221"
1920
}
2021
}
2122
]

src/PerfProblemSimulator/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@
341341
? "DISABLED"
342342
: "ENABLED");
343343

344+
// Start the application
344345
app.Run();
345346

346347
// =============================================================================

src/PerfProblemSimulator/wwwroot/azure-deployment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ <h2>Quick Reference - CLI One-Liner</h2>
949949
// Fetch and display build info
950950
async function fetchBuildInfo() {
951951
try {
952-
const response = await fetch('/api/config');
952+
const response = await fetch('/api/health/build');
953953
if (response.ok) {
954954
const data = await response.json();
955955
if (data.buildTimestamp) {

src/PerfProblemSimulator/wwwroot/azure-monitoring-guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ <h2>🔗 Additional Resources</h2>
16341634
// Fetch and display build info
16351635
async function fetchBuildInfo() {
16361636
try {
1637-
const response = await fetch('/api/config');
1637+
const response = await fetch('/api/health/build');
16381638
if (response.ok) {
16391639
const data = await response.json();
16401640
if (data.buildTimestamp) {

src/PerfProblemSimulator/wwwroot/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ <h3>What It Tests</h3>
18721872
// Fetch and display build info
18731873
async function fetchBuildInfo() {
18741874
try {
1875-
const response = await fetch('/api/config');
1875+
const response = await fetch('/api/health/build');
18761876
if (response.ok) {
18771877
const data = await response.json();
18781878
if (data.buildTimestamp) {

0 commit comments

Comments
 (0)