- Simplify graph search parameters in API - Add inclusive search and min degree options - Update Vite config for local development - Enhance graph query endpoint in web UI - Add new Vite config file for local setup
39 lines
898 B
JavaScript
39 lines
898 B
JavaScript
import { defineConfig } from 'vite'
|
|
import baseConfig from './vite.config'
|
|
import { mergeConfig } from 'vite'
|
|
|
|
export default mergeConfig(
|
|
baseConfig,
|
|
defineConfig({
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/api/, '')
|
|
},
|
|
'/documents': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true
|
|
},
|
|
'/graphs': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true
|
|
},
|
|
'/graph': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true
|
|
},
|
|
'/health': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true
|
|
},
|
|
'/query': {
|
|
target: 'http://localhost:9621',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|
|
)
|