mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Cleanup v2 leftovers
This commit is contained in:
@@ -108,9 +108,7 @@ namespace BTCPayServer.Controllers
|
||||
public IActionResult GetTranslations(string resource, string lang)
|
||||
{
|
||||
string path;
|
||||
if (resource == "checkout-v1")
|
||||
path = "locales";
|
||||
else if (resource == "checkout-v2")
|
||||
if (resource.StartsWith("checkout"))
|
||||
path = "locales/checkout";
|
||||
else
|
||||
return NotFound();
|
||||
|
||||
Reference in New Issue
Block a user