summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Program.cs
diff options
context:
space:
mode:
authorivar <i@oiee.no>2025-12-04 00:17:16 +0100
committerivar <i@oiee.no>2025-12-04 00:17:16 +0100
commit724860c272afb7fe5a02645ef1c1b8d208d897f3 (patch)
treedf9b72b9cd9cc716ceb19a4a9085b8f1ba5b6972 /api/WhatApi/Program.cs
parent401226a14f3e5ef98b959e818d37683afd7056d9 (diff)
downloadwhat-724860c272afb7fe5a02645ef1c1b8d208d897f3.tar.xz
what-724860c272afb7fe5a02645ef1c1b8d208d897f3.zip
POC auth in app
Diffstat (limited to 'api/WhatApi/Program.cs')
-rw-r--r--api/WhatApi/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/WhatApi/Program.cs b/api/WhatApi/Program.cs
index 7d9c1b4..3375e09 100644
--- a/api/WhatApi/Program.cs
+++ b/api/WhatApi/Program.cs
@@ -93,7 +93,7 @@ app.UseMiddleware<UserLastSeenMiddleware>();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
-app.MapGet("/", () => Results.Redirect("/map"));
+app.MapGet("/", () => Results.Redirect("/login"));
app.Run();
return 0; \ No newline at end of file