Florin Bobiș commited on
Commit
cb1e135
1 Parent(s): 6b6680b

added root endpoint

Browse files
Files changed (1) hide show
  1. Program.cs +1 -0
Program.cs CHANGED
@@ -129,6 +129,7 @@ app.MapGet("/quotes/search", async (string query, QuoteDbContext db, int pageNum
129
  });
130
 
131
  app.MapGet("/health", () => Results.Ok(new { Status = "Healthy", Timestamp = DateTime.UtcNow }));
 
132
 
133
  async Task SaveSource1Async(string jsonFilePath, QuoteDbContext db)
134
  {
 
129
  });
130
 
131
  app.MapGet("/health", () => Results.Ok(new { Status = "Healthy", Timestamp = DateTime.UtcNow }));
132
+ app.MapGet("/", () => Results.Ok(new { message = "Hello!", Timestamp = DateTime.UtcNow }));
133
 
134
  async Task SaveSource1Async(string jsonFilePath, QuoteDbContext db)
135
  {