Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: proxy

shuaied71e0b8b1d0
diff --git a/ui/config-overrides.js b/ui/config-overrides.js
index 706bca3f..e80ec653 100644
--- a/ui/config-overrides.js
+++ b/ui/config-overrides.js
@@ -26,8 +26,8 @@ module.exports = {
const config = configFunction(proxy, allowedHost);
config.proxy = {
'/answer': {
- target: "http://10.0.20.84:8080",
- // target: 'http://10.0.10.98:2060',
+ // target: "http://10.0.20.84:8080",
+ target: 'http://10.0.10.98:2060',
changeOrigin: true,
secure: false,
},