Skip to content

Commit

Permalink
always https
Browse files Browse the repository at this point in the history
  • Loading branch information
MouseAndKeyboard committed Oct 7, 2024
1 parent 15b44b7 commit 729efa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/components/PinListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function PinListItem({ pin, setPins, index }: PinListItemProps) {

useEffect(() => {
if (pin.loading) {
fetch(`/api/sr/data?lat=${pin.lat}&lng=${pin.lng}`)
fetch(`https://satsync.org/api/sr/data?lat=${pin.lat}&lng=${pin.lng}`)
.then((response) => response.json())
.then((data) => {
setPins((prevPins) =>
Expand Down

0 comments on commit 729efa1

Please sign in to comment.