diff --git a/neode-ui/mock-backend.js b/neode-ui/mock-backend.js index 95677b3c..397896b7 100755 --- a/neode-ui/mock-backend.js +++ b/neode-ui/mock-backend.js @@ -1016,13 +1016,6 @@ app.get('/app/filebrowser/api/raw/*', (req, res) => { } }) -// ============================================================================= -// AIUI Web Search stub (demo mode — no real search backend) -// ============================================================================= -app.get('/aiui/api/web-search', (req, res) => { - res.json({ results: [] }) -}) - // Claude API Proxy (reads ANTHROPIC_API_KEY from environment) // ============================================================================= import https from 'https' @@ -1097,11 +1090,6 @@ app.all('/aiui/api/*', (req, res) => { res.status(404).json({ error: 'Not available in demo mode' }) }) -// General /api/ catch-all -app.all('/api/*', (req, res) => { - res.status(404).json({ error: 'Not found' }) -}) - // Health check app.get('/health', (req, res) => { res.status(200).send('healthy') diff --git a/neode-ui/vite.config.ts b/neode-ui/vite.config.ts index dfaac751..a6528c86 100644 --- a/neode-ui/vite.config.ts +++ b/neode-ui/vite.config.ts @@ -44,6 +44,7 @@ export default defineConfig({ '**/*-1.47mb.mp4', '**/bg-*.mp4', // Exclude large background videos from precache '**/video-intro.mp4', // Exclude video-intro.mp4 from precache (7MB, cached at runtime) + '**/assets/icon/**', // Icons are in includeAssets — don't duplicate in glob precache ], maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, // 5MB limit (increased from 2MB) skipWaiting: false, // Wait for user to accept update