diff --git a/ui/config-overrides.js b/ui/config-overrides.js index f9352d29..65e8a206 100644 --- a/ui/config-overrides.js +++ b/ui/config-overrides.js @@ -26,8 +26,7 @@ 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.10.98:2060', changeOrigin: true, secure: false, }, diff --git a/ui/src/pages/Notifications/index.tsx b/ui/src/pages/Notifications/index.tsx index edd0cff8..4350c44e 100644 --- a/ui/src/pages/Notifications/index.tsx +++ b/ui/src/pages/Notifications/index.tsx @@ -45,7 +45,8 @@ const Notifications = () => { }, [data]); const navigate = useNavigate(); - const handleTypeChange = (val) => { + const handleTypeChange = (evt, val) => { + evt.preventDefault(); navigate(`/users/notifications/${val}`); }; @@ -72,19 +73,24 @@ const Notifications = () => {