import {UnitState} from '../unit/constants';

export const API_URL = 'https://servicemat.hel.ninja/servicemap/v1'; //http://api.hel.fi/servicemap/v1';
export const DIGITRANSIT_API_URL = 'https://api.digitransit.fi/geocoding/v1';
export const APP_NAME = 'outdoors-sports-map';

export const DEFAULT_LANG = 'fi';

export const mobileBreakpoint = 768;

export type Action = {
  type: string,
  payload: Object
};

export type FetchAction = {
  type: string,
  payload: {
    params: Object
  }
};

export type EntityAction = {
  type: string,
  payload: {
    entities: Object,
    result: mixed
  }
};

export type AppState = {
  unit: UnitState
};


export type QueryValue = | string | Array<string>;

export const routerPaths = {
  singleUnit: 'unit/:unitId'
};

import {UnitState} from '../unit/constants';

export const API_URL = 'http://api.hel.fi/servicemap/v1';
export const DIGITRANSIT_API_URL = 'https://api.digitransit.fi/geocoding/v1';
export const APP_NAME = 'outdoors-sports-map';

export const DEFAULT_LANG = 'fi';

export const mobileBreakpoint = 768;

export type Action = {
  type: string,
  payload: Object
};

export type FetchAction = {
  type: string,
  payload: {
    params: Object
  }
};

export type EntityAction = {
  type: string,
  payload: {
    entities: Object,
    result: mixed
  }
};

export type AppState = {
  unit: UnitState
};


export type QueryValue = | string | Array<string>;

export const routerPaths = {
  singleUnit: 'unit/:unitId'
};

Change API URL to production one
Change API URL to production one
