diff --git a/.env b/.env index 9643b21..b05c9a4 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -REACT_APP_API_LOCAL=http://localhost:5000/ -REACT_APP_API_PROD=https://api.wheelshare.app/ +REACT_APP_API_PROD=http://localhost:5000/ +REACT_APP_API_LOCAL=https://api.wheelshare.app/ diff --git a/src/components/Group/GroupInviteCode.tsx b/src/components/Group/GroupInviteCode.tsx index fda0e3f..87969c5 100644 --- a/src/components/Group/GroupInviteCode.tsx +++ b/src/components/Group/GroupInviteCode.tsx @@ -65,6 +65,13 @@ export default function GroupInviteCode() { > Regenerate + {navigator.clipboard.writeText("https://www.wheelshare.app/join/"+group.joinCode)}} style={{ + backgroundColor: lightgrey, + margin: '0.5rem', + flex: 1, + }}> + Copy Link + )}