namespace Robust.Server.ServerStatus;
///
/// Helper functions for working with .
///
public static class StatusExt
{
///
/// Add Access-Control-Allow-Origin: * to the response headers for this request.
///
public static void AddAllowOriginAny(this IStatusHandlerContext context)
{
context.ResponseHeaders.Add("Access-Control-Allow-Origin", "*");
}
}