mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Added HealthController to web project for IIS Ping to use
This commit is contained in:
21
NzbDrone.Web/Controllers/HealthController.cs
Normal file
21
NzbDrone.Web/Controllers/HealthController.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace NzbDrone.Web.Controllers
|
||||
{
|
||||
public class HealthController : Controller
|
||||
{
|
||||
//
|
||||
// GET: /Health/
|
||||
|
||||
[HttpGet]
|
||||
public JsonResult Index()
|
||||
{
|
||||
return Json("OK", JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user