mirror of
https://github.com/dataelement/bisheng.git
synced 2026-08-29 01:22:31 +08:00
fix: 资源展示问题
This commit is contained in:
@@ -46,7 +46,7 @@ server {
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
}
|
||||
|
||||
location ~ ^/(workspace/bisheng|bisheng|tmp-dir)/ {
|
||||
location ~ ^/(workspace/bisheng|workspace/tmp-dir)/ {
|
||||
rewrite ^/workspace(/.*)$ $1 break;
|
||||
proxy_pass http://minio:9000;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
'/workspace/tmp-dir': {
|
||||
target: 'http://192.168.106.116:9000',
|
||||
target: 'http://192.168.106.120:3002',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => {
|
||||
|
||||
Reference in New Issue
Block a user