mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-04 10:05:10 +08:00
### What problem does this PR solve? fix: Fixed an issue where the project could not be built #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
7ca98848ac
commit
d7426d86d5
@ -20,7 +20,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
plugins: ['@react-dev-inspector/umi4-plugin', '@umijs/plugins/dist/dva'],
|
plugins: ['@react-dev-inspector/umi4-plugin', '@umijs/plugins/dist/dva'],
|
||||||
dva: {},
|
dva: {},
|
||||||
|
jsMinifier: 'terser',
|
||||||
lessLoader: {
|
lessLoader: {
|
||||||
modifyVars: {
|
modifyVars: {
|
||||||
hack: `true; @import "~@/less/index.less";`,
|
hack: `true; @import "~@/less/index.less";`,
|
||||||
@ -30,7 +30,7 @@ export default defineConfig({
|
|||||||
copy: ['src/conf.json'],
|
copy: ['src/conf.json'],
|
||||||
proxy: {
|
proxy: {
|
||||||
'/v1': {
|
'/v1': {
|
||||||
target: '',
|
target: 'http://localhost:9380/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
logger: console,
|
logger: console,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user