mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-17 18:51:28 +00:00
add eula endpoints
This commit is contained in:
parent
0a2ce2f004
commit
c20ac6a845
1 changed files with 18 additions and 0 deletions
18
ProjectLighthouse/Controllers/EulaAnnounceController.cs
Normal file
18
ProjectLighthouse/Controllers/EulaAnnounceController.cs
Normal file
|
@ -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!");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue