(feature)(webapp) use nativeQuery field to determine whether it is a selection (#222)

This commit is contained in:
williamhliu
2023-10-14 16:37:28 +08:00
committed by GitHub
parent d9efe8f137
commit fdf48d7bfd
16 changed files with 63 additions and 38 deletions

View File

@@ -1,10 +1,18 @@
const { createProxyMiddleware } = require('http-proxy-middleware');
const { proxyTarget } = require('./common/env');
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:9080',
target: proxyTarget,
changeOrigin: true,
})
);
app.use(
'/openapi',
createProxyMiddleware({
target: proxyTarget,
changeOrigin: true,
})
);