Skip to content

Commit

Permalink
trying deployed host
Browse files Browse the repository at this point in the history
  • Loading branch information
jrk12b committed Jan 4, 2025
1 parent 170c20f commit fc3fadb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/context/contextActivities.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { HOST } = require('../config');
// Fetches activity data from the backend API
export const fetchActivities = async () => {
try {
console.log(`Host: ${HOST}`);
const response = await axios.get(`${HOST}/api/activities`);
return response.data;
} catch (error) {
Expand Down

0 comments on commit fc3fadb

Please sign in to comment.