Skip to content

Commit

Permalink
changing IP
Browse files Browse the repository at this point in the history
  • Loading branch information
avichaljadeja2002 committed Oct 14, 2024
1 parent 3458260 commit 9c752d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/calendarEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function CalendarTracker() {
const navigation = useNavigation<CalendarTrackerNavigationProp>();

useEffect(() => {
axios.get(IPAddr + '/get_calendar_events/1') // Change the endpoint to hit your Spring Boot API
axios.get(IPAddr + '/get_calendar_events/1')
.then(response => {
const events = response.data.map((event: any) => ({
id: event.id.toString(),
Expand Down
2 changes: 1 addition & 1 deletion app/constants.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const IPAddr = "http://137.112.197.42:8080" // TODO - change to not have hardcoded for individual machines
export const IPAddr = "http://34.204.83.156:8080"
2 changes: 1 addition & 1 deletion app/finance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function FinanceTracker() {
const navigation = useNavigation<FinanceTrackerNavigationProp>();

useEffect(() => {
axios.get(IPAddr + '/get_finance_events/1') // Change the endpoint to hit your Spring Boot API
axios.get(IPAddr + '/get_finance_events/1')
.then(response => {
const events = response.data.map((event: any) => ({
id: event.id.toString(),
Expand Down

0 comments on commit 9c752d5

Please sign in to comment.