betterbot/frontend/vite.config.ts
Andre K e68c84424f
Some checks failed
Deploy BetterBot / deploy (push) Failing after 3s
Deploy BetterBot / notify (push) Successful in 3s
feat: fork from CodeAnywhere framework
Replace standalone Telegram bot with full CodeAnywhere framework fork.
BetterBot shares all framework code and customizes only:
- instance.py: BetterBot identity, system prompt, feature flags
- tools/site_editing/: list_files, read_file, write_file with auto git push
- .env: model defaults and site directory paths
- compose/: Docker setup with betterlifesg + memoraiz mounts
- deploy script: RackNerd with Infisical secrets
2026-04-19 08:01:27 +08:00

19 lines
508 B
TypeScript

import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [react()],
build: {
outDir: '../static/dist',
emptyOutDir: true,
},
server: {
proxy: {
'/api': 'http://localhost:3000',
'/login': 'http://localhost:3000',
'/health': 'http://localhost:3000',
'/uploads': 'http://localhost:3000',
'/ui-config': 'http://localhost:3000',
},
},
});