fix: Add route for /demo.html page

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-05 16:54:14 +00:00
parent 73723b5801
commit e0b30e52ef
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ async function generateSessionToken(userId: string, username: string): Promise<s
// ============================================================================
// Serve demo page and static assets
app.get('/demo.html', serveStatic({ path: './src/encryptid/demo.html' }));
app.use('/demo/*', serveStatic({ root: './src/encryptid/' }));
app.use('/static/*', serveStatic({ root: './public/' }));