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

@ -14,8 +14,8 @@ steps:
- master
environment:
REACT_APP_PUBLIC_PATH: https://map.vault48.org/
REACT_APP_API_ADDR: https://backend.map.vault48.org
REACT_APP_OSRM_URL: https://vault48.org:5001/route/v1
REACT_APP_API_ADDR: https://backend-map.vault48.org
REACT_APP_OSRM_URL: https://osrm.vault48.org/route/v1
REACT_APP_OSRM_PROFILE: bike
settings:
dockerfile: docker/www/Dockerfile

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,