fixed config paths

This commit is contained in:
muerwre 2018-12-03 15:35:07 +07:00
parent 9c0038f0a3
commit bf1b92fdf1
18 changed files with 92 additions and 124 deletions

View file

@ -0,0 +1,16 @@
import { DEFAULT_PROVIDER, PROVIDERS } from '$constants/providers';
const API_ADDR = 'https://HOSTNAME.org:3000';
const OSRM_URL = 'https://HOSTNAME.org:5001/route/v1';
export const CLIENT = {
OSRM_URL,
API_ADDR,
STROKE_WIDTH: 5,
};
export const COLORS = {
PATH_COLOR: ['#ff7700', '#ff3344'],
};
export const PROVIDER = PROVIDERS[DEFAULT_PROVIDER];