mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-28 20:46:41 +07:00
change backend and osrm urls
This commit is contained in:
parent
49a2015510
commit
1dcfd7e9c0
3 changed files with 4 additions and 6 deletions
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue