ragflow / web /.umirc.ts
yqj123
update port (#36)
c4f7231
raw
history blame
572 Bytes
import { defineConfig } from "umi";
import routes from './routes'
export default defineConfig({
outputPath: 'dist',
// alias: { '@': './src' },
routes,
npmClient: 'npm',
base: '/',
publicPath: '/web/dist/',
esbuildMinifyIIFE: true,
icons: {
},
hash: true,
history: {
type: 'browser',
},
plugins: ['@umijs/plugins/dist/dva'],
dva: {},
// proxy: {
// '/v1': {
// 'target': 'http://54.80.112.79:9380/',
// 'changeOrigin': true,
// 'pathRewrite': { '^/v1': '/v1' },
// },
// },
});