mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-01-03 07:05:32 +00:00
Fix swagger endpoint
This commit is contained in:
@@ -5,6 +5,7 @@ using PodNoms.Api.Utils;
|
||||
namespace PodNoms.Api.Controllers {
|
||||
[Route("[controller]")]
|
||||
public class BoilerplateController : Controller {
|
||||
[HttpGet]
|
||||
public async Task<ActionResult<string>> Get(string key) {
|
||||
var html = await ResourceReader.ReadResource($"{key}.html");
|
||||
return Content(html, "text/plain");
|
||||
|
||||
Reference in New Issue
Block a user