UNPKG

@aj-archipelago/cortex

Version:

Cortex is a GraphQL API for AI. It provides a simple, extensible interface for using AI services from OpenAI, Azure and others.

22 lines (21 loc) 408 B
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { watch: { usePolling: true }, host: true, proxy: { '/api': { target: 'http://localhost:8081', changeOrigin: true }, '/socket.io': { target: 'http://localhost:8081', ws: true } } } })