change backend and osrm urls

This commit is contained in:
Fedor Katurov 2023-11-30 21:30:48 +07:00
parent 49a2015510
commit 1dcfd7e9c0
3 changed files with 4 additions and 6 deletions

View file

@ -63,7 +63,7 @@ export class UserPanelUnconnected extends PureComponent<Props, State> {
};
componentDidMount() {
window.addEventListener('message', e => {
window.addEventListener('message', (e) => {
const { data } = e;
if (
@ -123,7 +123,7 @@ export class UserPanelUnconnected extends PureComponent<Props, State> {
openGpxDialog = () => {
this.props.editorChangeMode(MODES.GPX);
}
};
render() {
const {

View file

@ -10,8 +10,6 @@ const OSRM_TEST_URL = ([south_west, north_east]: LatLngLiteral[]) =>
north_east
).join(',')}`;
console.log('its', process.env.REACT_APP_API_ADDR);
export const CLIENT = {
OSRM_URL,
API_ADDR,