providers: initial

This commit is contained in:
muerwre 2018-11-29 12:23:49 +07:00
parent b85141046d
commit 552e3effb8
16 changed files with 133 additions and 49 deletions

View file

@ -1,4 +1,4 @@
import { providers } from '$constants/providers';
import { DEFAULT_PROVIDER, PROVIDERS } from '$constants/providers';
export const CONFIG = {
OSRM_URL: 'http://vault48.org:5000/route/v1',
@ -9,4 +9,4 @@ export const COLORS = {
PATH_COLOR: ['#ff7700', '#ff3344'],
};
export const PROVIDER = providers.blank;
export const PROVIDER = PROVIDERS[DEFAULT_PROVIDER];