mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Can get lnd config without being logged
This commit is contained in:
@@ -320,6 +320,7 @@ namespace BTCPayServer.Controllers
|
|||||||
return View(model);
|
return View(model);
|
||||||
}
|
}
|
||||||
[Route("lnd-config/{secret}/lnd.config")]
|
[Route("lnd-config/{secret}/lnd.config")]
|
||||||
|
[AllowAnonymous]
|
||||||
public IActionResult GetLNDConfig(ulong secret)
|
public IActionResult GetLNDConfig(ulong secret)
|
||||||
{
|
{
|
||||||
var conf = _LnConfigProvider.GetConfig(secret);
|
var conf = _LnConfigProvider.GetConfig(secret);
|
||||||
|
|||||||
Reference in New Issue
Block a user