mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-19 12:39:59 +08:00
update port (#36)
This commit is contained in:
parent
4a858d33b6
commit
c4f72317a2
@ -7,14 +7,14 @@ export default defineConfig({
|
||||
routes,
|
||||
npmClient: 'npm',
|
||||
base: '/',
|
||||
publicPath: '/client/dist/',
|
||||
publicPath: '/web/dist/',
|
||||
esbuildMinifyIIFE: true,
|
||||
icons: {
|
||||
|
||||
},
|
||||
hash: true,
|
||||
history: {
|
||||
type: 'hash',
|
||||
type: 'browser',
|
||||
},
|
||||
plugins: ['@umijs/plugins/dist/dva'],
|
||||
dva: {},
|
||||
|
2
web/package-lock.json
generated
2
web/package-lock.json
generated
@ -16,6 +16,7 @@
|
||||
"js-base64": "^3.7.5",
|
||||
"jsencrypt": "^3.3.2",
|
||||
"lodash": "^4.17.21",
|
||||
"moment": "^2.30.1",
|
||||
"react-i18next": "^14.0.0",
|
||||
"react-infinite-scroll-component": "^6.1.0",
|
||||
"umi": "^4.0.90",
|
||||
@ -10771,7 +10772,6 @@
|
||||
"version": "2.30.1",
|
||||
"resolved": "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz",
|
||||
"integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==",
|
||||
"devOptional": true,
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"private": true,
|
||||
"author": "zhaofengchao <13723060510@163.com>",
|
||||
"scripts": {
|
||||
"dev": "umi dev",
|
||||
"dev": "set PORT=9000&&umi dev",
|
||||
"build": "umi build",
|
||||
"postinstall": "umi setup",
|
||||
"setup": "umi setup",
|
||||
@ -19,6 +19,7 @@
|
||||
"js-base64": "^3.7.5",
|
||||
"jsencrypt": "^3.3.2",
|
||||
"lodash": "^4.17.21",
|
||||
"moment": "^2.30.1",
|
||||
"react-i18next": "^14.0.0",
|
||||
"react-infinite-scroll-component": "^6.1.0",
|
||||
"umi": "^4.0.90",
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
let api_host = `http://54.80.112.79:9380/v1`;
|
||||
let api_host = `/v1`;
|
||||
|
||||
|
||||
export { api_host };
|
||||
|
Loading…
x
Reference in New Issue
Block a user