From 988347ecac8adee6e7e685df06b3d2d47aaa4378 Mon Sep 17 00:00:00 2001 From: UO282104 Date: Wed, 10 Apr 2024 15:00:41 +0200 Subject: [PATCH] fix: fixed the typo in the open api url in the lateral menu. --- webapp/src/components/LateralMenu.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/LateralMenu.jsx b/webapp/src/components/LateralMenu.jsx index b6a63379..4d049f92 100644 --- a/webapp/src/components/LateralMenu.jsx +++ b/webapp/src/components/LateralMenu.jsx @@ -25,7 +25,7 @@ const LateralMenu = ({ isOpen, onClose, changeLanguage, isDashboard }) => { }; const handleApiClick = () => { - window.open(`http://${process.env.REACT_APP_API_ENDPOINT}/swagger/swagger-ui/index.html#/auth-controller/registerUser`, "_blank", "noopener"); + window.open(`${process.env.REACT_APP_API_ENDPOINT}/swagger/swagger-ui/index.html#/auth-controller/registerUser`, "_blank", "noopener"); }; const handleLogout = async () => {