mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
@@ -65,8 +65,8 @@ namespace Tgstation.Server.Host.Controllers
|
||||
var remoteIP = Request.HttpContext.Connection.RemoteIpAddress;
|
||||
if (!IPAddress.IsLoopback(remoteIP))
|
||||
{
|
||||
logger.LogTrace("Ignoring remote bridge request from {0}", remoteIP);
|
||||
return NotFound();
|
||||
logger.LogTrace("Rejecting remote bridge request from {0}", remoteIP);
|
||||
return Forbid();
|
||||
}
|
||||
|
||||
using (LogContext.PushProperty("Bridge", Interlocked.Increment(ref requestsProcessed)))
|
||||
|
||||
Reference in New Issue
Block a user