Skip to content

Commit

Permalink
read client ip
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed May 29, 2024
1 parent 7267dcd commit fb7bd65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Moonglade.Web/Controllers/MentionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public async Task<IActionResult> ReceiveWebmention(
{
if (!blogConfig.AdvancedSettings.EnableWebmention) return Forbid();

var ip = Helper.GetClientIP(HttpContext);
// Verify that the source URL links to the target URL
// TODO

Expand Down

0 comments on commit fb7bd65

Please sign in to comment.