Skip to content

Commit

Permalink
Update Video.jsx
Browse files Browse the repository at this point in the history
Signed-off-by: Haroun Alarabi <[email protected]>
  • Loading branch information
HarounAlarabi authored Mar 9, 2024
1 parent 8daa84c commit 0547896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Video.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Video({ videoObj, deleteVideo }) {
const videoId = getVideoIdFromUrl(videoObj.url);
const [ vote, setVote ] = useState(videoObj.rating);

const fetchVideosUrl = 'http://ec2-18-132-119-195.eu-west-2.compute.amazonaws.com:5050';
const fetchVideosUrl = 'http:/ec2-3-10-215-23.eu-west-2.compute.amazonaws.com:5050';

const updateVote = (increment) => {
const newRating = vote + increment;
Expand Down

0 comments on commit 0547896

Please sign in to comment.