Skip to content

Commit

Permalink
fix: map correct url to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgancfer committed Apr 6, 2024
1 parent a689f32 commit e527ca2
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://localhost:8080/swagger/swagger-ui/index.html#/auth-controller/registerUser", "_blank", "noopener");
window.open(`http://${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 e527ca2

Please sign in to comment.