fix: Add localhost host binding to Vite config and index fix script

- Add host: 'localhost' to vite.config.js to ensure consistent IP
- Add scripts/fix-indexes.js for database index verification
- Add routes/llmTest.js for LLM testing endpoint

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
donald
2025-12-09 18:28:29 +08:00
parent f9ee43b73c
commit 1568a12a96
3 changed files with 424 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
host: 'localhost',
port: 5173,
open: true
}