mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Added HealthController to web project for IIS Ping to use
This commit is contained in:
parent
b4ea8838d2
commit
0e191f6a44
2 changed files with 30 additions and 3 deletions
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue