We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6390ba8 commit e75d1afCopy full SHA for e75d1af
docs/orleans/quickstarts/snippets/url-shortener/orleansurlshortener/Program.cs
@@ -16,7 +16,7 @@
16
// <Endpoints>
17
app.MapGet("/", () => "Hello World!");
18
19
-app.MapGet("/shorten",
+app.MapGet("/shorten/{redirect}",
20
async (IGrainFactory grains, HttpRequest request, string redirect) =>
21
{
22
// Create a unique, short ID
@@ -88,4 +88,4 @@ public record UrlDetails
88
public string FullUrl { get; set; }
89
public string ShortenedRouteSegment { get; set; }
90
}
91
-// </grain>
+// </grain>
0 commit comments