Skip to content

Commit

Permalink
Set prod domain
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten authored Aug 15, 2024
1 parent 7ade0cd commit 22e34b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function fetchNodes(dispatch) {
fetch("/api/v1/mapdata/nodes?format=json")
fetch("https://db.mesh.nycmesh.net/api/v1/mapdata/nodes?format=json")
.then(res => res.json())
.then(json => {
dispatch({ type: "FETCH_NODES_SUCCESS", nodes: json });
Expand All @@ -8,7 +8,7 @@ export function fetchNodes(dispatch) {
}

export function fetchLinks(dispatch) {
fetch("/api/v1/mapdata/links?format=json")
fetch("https://db.mesh.nycmesh.net/api/v1/mapdata/links?format=json")
.then(res => res.json())
.then(json => {
dispatch({ type: "FETCH_LINKS_SUCCESS", links: json });
Expand All @@ -17,7 +17,7 @@ export function fetchLinks(dispatch) {
}

export function fetchSectors(dispatch) {
fetch("/api/v1/mapdata/sectors?format=json")
fetch("https://db.mesh.nycmesh.net/api/v1/mapdata/sectors?format=json")
.then(res => res.json())
.then(json => {
dispatch({ type: "FETCH_SECTORS_SUCCESS", sectors: json });
Expand Down

0 comments on commit 22e34b0

Please sign in to comment.