From c20ac6a8456eb8c5948a84ef1b752aef8daaad58 Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 6 Oct 2021 00:42:30 -0400 Subject: [PATCH] add eula endpoints --- .../Controllers/EulaAnnounceController.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ProjectLighthouse/Controllers/EulaAnnounceController.cs diff --git a/ProjectLighthouse/Controllers/EulaAnnounceController.cs b/ProjectLighthouse/Controllers/EulaAnnounceController.cs new file mode 100644 index 00000000..12d97deb --- /dev/null +++ b/ProjectLighthouse/Controllers/EulaAnnounceController.cs @@ -0,0 +1,18 @@ +using Microsoft.AspNetCore.Mvc; + +namespace ProjectLighthouse.Controllers { + [ApiController] + [Route("LITTLEBIGPLANETPS3_XML/")] + [Produces("text/plain")] + public class EulaAnnounceController : ControllerBase { + [HttpGet("eula")] + public IActionResult Eula() { + return Ok("eula test"); + } + + [HttpGet("announce")] + public IActionResult Announce() { + return Ok("PROJECT LIGHTHOUSE IS A GO!\nalso ezoiar was here\nnow on ASP.NET!"); + } + } +} \ No newline at end of file