mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RadicadeServer.DB;
|
||||
using RadicadeServer.RecNet;
|
||||
|
||||
namespace RadicadeServer.NS
|
||||
{
|
||||
[Route("/")]
|
||||
public class NameSever : Controller
|
||||
{
|
||||
[HttpGet("")]
|
||||
[HttpGet("ns")]
|
||||
[HttpGet("nameserver")]
|
||||
public IActionResult GetNameServer()
|
||||
{
|
||||
return Ok(DBConfig.NameServer);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user