added pwa cacher

This commit is contained in:
Integral Team 2019-09-11 16:53:47 +07:00
parent 8ba5d4d238
commit 3a74299ece
8 changed files with 448 additions and 18 deletions

View file

@ -1,6 +1,7 @@
import { DEFAULT_PROVIDER, PROVIDERS } from '$constants/providers';
import { LatLngLiteral } from 'leaflet';
const PUBLIC_PATH = '';
const API_ADDR = 'https://HOSTNAME.org:3000';
const OSRM_URL = 'https://HOSTNAME.org:5001/route/v1';
const OSRM_PROFILE = 'bike';
@ -14,6 +15,7 @@ export const CLIENT = {
OSRM_TEST_URL,
OSRM_PROFILE,
STROKE_WIDTH: 5,
PUBLIC_PATH,
};
export const COLORS = {