Skip to content

Commit

Permalink
fix endpoint for profile
Browse files Browse the repository at this point in the history
  • Loading branch information
pelazas committed Apr 27, 2024
1 parent 7527956 commit 30ac9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/pages/userProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import axios from 'axios';

const ProfilePage = () => {
const { t } = useTranslation();
const apiEndpoint = 'http://localhost:8000';
const apiEndpoint = process.env.REACT_APP_API_ENDPOINT || 'http://localhost:8000';
const uuid = localStorage.getItem('uuid');
const [profileInfo, setProfileInfo] = useState(null);

Expand Down

0 comments on commit 30ac9cf

Please sign in to comment.