Skip to content

Commit

Permalink
Merge pull request #114 from Arquisoft/dev
Browse files Browse the repository at this point in the history
fix endpoint for profile
  • Loading branch information
pelazas authored Apr 27, 2024
2 parents 3a3aac3 + 30ac9cf commit efa84e1
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 efa84e1

Please sign in to comment.