fix(demo): /app proxy (fixes 404s), mempool iframe, LND UI, icons
- nginx-demo.conf + vite proxy now route every /app/<id>/ to the mock backend, so the per-app mock UIs and the generic "Not available in the demo" notice render (previously only /app/filebrowser was proxied → most apps 404'd). - Mempool and IndeeHub now load in the in-app iframe (not a new tab). - Add an LND Lightning mock UI (channels, balances, routing) with dummy data; lnd/thunderhub are demoable. Notice page reworded to "Not available in the demo". - Fix missing icons: Bitcoin Core → bitcoin-core.png, Mempool → mempool.webp. - Pre-install only Bitcoin Core (drop duplicate Bitcoin Knots; still installable). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c9341baa35
commit
4cc808c73e
@@ -151,6 +151,11 @@ export default defineConfig({
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
// Demo mock app UIs (electrumx, lnd, fedimint) + generic notice page.
|
||||
'/app/electrumx': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
|
||||
'/app/electrs': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
|
||||
'/app/lnd': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
|
||||
'/app/fedimint': { target: process.env.BACKEND_URL || 'http://localhost:5959', changeOrigin: true, secure: false },
|
||||
// Serve the node's deployed AIUI same-origin like production (set VITE_AIUI_URL=/aiui/)
|
||||
'/aiui': {
|
||||
target: process.env.AIUI_PROXY_TARGET || 'http://127.0.0.1:80',
|
||||
|
||||
Reference in New Issue
Block a user