diff --git a/neode-ui/mock-backend.js b/neode-ui/mock-backend.js index 582a9e2b..08e0eb8c 100755 --- a/neode-ui/mock-backend.js +++ b/neode-ui/mock-backend.js @@ -40,7 +40,7 @@ const corsOptions = { } app.use(cors(corsOptions)) -app.use(express.json()) +app.use(express.json({ limit: '50mb' })) app.use(cookieParser()) // Mock session storage @@ -1340,6 +1340,15 @@ const MOCK_FILE_CONTENTS = { '/Documents/backup-log.json': JSON.stringify({ backups: [{ id: 'bkp-2025-03-01', timestamp: '2025-03-01T02:00:00Z', type: 'full', apps: ['bitcoin-knots', 'lnd', 'mempool'], size_mb: 2340, status: 'success' }] }, null, 2), } +// FileBrowser UI (demo placeholder when launched directly) +app.get('/app/filebrowser/', (req, res) => { + res.type('html').send(`
+File Browser is running. Use the Cloud page in Archipelago to manage your files.
+
Your node has a Decentralized Identifier (DID) for secure, passwordless authentication.
+
Give your first identity a name and choose how you'll use it. You can create more identities later.