DebasishDhal99 commited on
Commit
9688d35
·
1 Parent(s): 4edc644

Resolve dynamic backend url issue

Browse files
Files changed (1) hide show
  1. frontend/src/components/Map.js +1 -1
frontend/src/components/Map.js CHANGED
@@ -28,7 +28,7 @@ const ClickHandler = ({ onMapClick }) => {
28
  return null;
29
  };
30
 
31
- const BACKEND_URL = process.env.BACKEND_URL || 'http://localhost:8004';
32
  console.log(BACKEND_URL);
33
 
34
  const ResizeHandler = ({ trigger }) => {
 
28
  return null;
29
  };
30
 
31
+ const BACKEND_URL = process.env.REACT_APP_BACKEND_URL || 'http://localhost:8004';
32
  console.log(BACKEND_URL);
33
 
34
  const ResizeHandler = ({ trigger }) => {