瀏覽代碼

Fixed Paste/Upload APIs not allowing unauthed requests

master
Chris Woodward 2 年之前
父節點
當前提交
1c18526244

+ 1
- 0
Teknik/Areas/API/V1/Controllers/PasteAPIv1Controller.cs 查看文件

@@ -23,6 +23,7 @@ namespace Teknik.Areas.API.V1.Controllers
public PasteAPIv1Controller(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }

[HttpPost]
[AllowAnonymous]
public IActionResult Paste(PasteAPIv1Model model)
{
try

+ 1
- 0
Teknik/Areas/API/V1/Controllers/ShortenAPIv1Controller.cs 查看文件

@@ -24,6 +24,7 @@ namespace Teknik.Areas.API.V1.Controllers
public ShortenAPIv1Controller(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }

[HttpPost]
[AllowAnonymous]
public IActionResult Shorten(ShortenAPIv1Model model)
{
try

+ 803
- 803
Teknik/package-lock.json
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存