@using BTCPayServer.Views.Stores
@using BTCPayServer.Abstractions.Extensions
@model LNURLController.EditLightningAddressVM
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["NavPartialName"] = "../Stores/_Nav";
ViewData.SetActivePage(StoreNavPages.Integrations, "Lightning Address Setup", Context.GetStoreData().StoreName);
}
@section PageHeadContent {
}
@section PageFootContent {
}
@if (Context.Request.PathBase.ToString() != string.Empty)
{
Your BTCPay Server installation is using the root path @Context.Request.PathBase.
This is incompatible with wallets attempting to resolve @Context.Request.GetAbsoluteUriNoPathBase(new Uri("/.well-known/lnurlp/{username}", UriKind.Relative)) rather than @Context.Request.GetAbsoluteUri("/.well-known/lnurlp/{username}").
If the LN Address doesn't work, ask your integrator to redirect queries from @Context.Request.GetAbsoluteUriNoPathBase(new Uri("/.well-known/lnurlp/{username}", UriKind.Relative)) to @Context.Request.GetAbsoluteUri("/.well-known/lnurlp/{username}").
}
@ViewData["Title"]
Add Address