You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WebApi/Controllers/PublicController.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,20 +35,20 @@ UserProvider userProvider
35
35
/// Find links available for the specified reddit post ID.
36
36
/// </summary>
37
37
/// <param name="redditPostId">The unique reddit post ID. For example, use "sf8kp8" from the permalink "https://www.reddit.com/r/aww/comments/sf8kp8/treats_you_say/".</param>
38
+
/// <param name="cancellationToken"></param>
38
39
[HttpGet]
39
40
[Route("Link/By-Reddit-Post-Id/{redditPostId}")]
40
41
[SwaggerResponse(StatusCodes.Status200OK,
41
42
description:"OK. A list of links available for this reddit post ID.",
Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
20
+
</p>
21
+
<p>
22
+
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
23
+
It can result in displaying sensitive information from exceptions to end users.
24
+
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
0 commit comments