Skip to content

Commit

Permalink
fix: fixed the typo in the open api url in the lateral menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
UO282104 committed Apr 10, 2024
1 parent 37d62e3 commit 988347e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/LateralMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 988347e

Please sign in to comment.