@using BTCPayServer.Views.Stores
@using BTCPayServer.Abstractions.Models
@model UILNURLController.EditLightningAddressVM
@{
ViewData.SetActivePage("LightningAddress", nameof(StoreNavPages), StringLocalizer["Lightning Address"], Context.GetStoreData().Id);
}
@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}").
}