btcpayserver-docker
btcpayserver-docker copied to clipboard
Lightning Terminal (LIT) has not basepath configured
I installed LIT by official fragment which configures proxy to have it accessible in /lit path, but LIT itself does not know it, so it expects its assets will be on /:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" href="/icons/favicon-32x32.png"/>
<meta name="theme-color" content="#000000"/>
<link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png"/>
<link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png"/>
<link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png"/>
<link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png"/>
<link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png"/>
<link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png"/>
<link rel="manifest" href="/manifest.json"/>
<title>Lightning Terminal</title>
<link href="/static/css/3.da9f372b.chunk.css" rel="stylesheet">
<link href="/static/css/main.7dcd6dc5.chunk.css" rel="stylesheet">
</head>
<body>
...
<script src="/static/js/3.f0a1b120.chunk.js"></script>
<script src="/static/js/main.f1eda0b0.chunk.js"></script>
</body>
</html>
Most of apps have config for this, but I does not see it in its README, it is probably baked in, so probably we will need some hack in nginx to rewrite paths.