diff --git a/.gitignore b/.gitignore index 51b8b6387..1771cac27 100644 --- a/.gitignore +++ b/.gitignore @@ -38,7 +38,6 @@ stats.html template.config.js .eslintcache configs/config.local.json -public/appconfig.js -public/config/appconfig.js +public/config/appconfig.json cosmos/dist/ cosmos-export/ diff --git a/public/config/appconfig.json b/public/config/appconfig.json deleted file mode 100644 index fdd7ad6e0..000000000 --- a/public/config/appconfig.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "API_GATEWAY": "https://disaster.ninja/active/api", - "GRAPHQL_API": "https://apps.kontur.io/insights-api/graphql", - "BOUNDARIES_API": "https://api.kontur.io", - "REPORTS_API": "https://disaster.ninja/active/reports", - "BIVARIATE_TILES_RELATIVE_URL": "api/tiles/bivariate/v1/", - "BIVARIATE_TILES_INDICATORS_CLASS": "all", - "REFRESH_INTERVAL_SEC": 300, - "MAP_ACCESS_TOKEN": "", - "MAP_BASE_STYLE": "https://disaster.ninja/tiles/basemap/style_ninja.json", - "LAYERS_BY_DEFAULT": [ - "BIV__Kontur OpenStreetMap Quantity", - "activeContributors", - "eventShape", - "focused-geometry" - ], - "AUTOFOCUS_PADDINGS": [16, 300, 16, 336], - "AUTOFOCUS_ZOOM": 13, - "FEATURES_BY_DEFAULT": [ - "events_list", - "current_event", - "reports", - "current_episode", - "episode_list", - "osm_edit_link", - "side_bar", - "analytics_panel", - "map_layers_panel", - "focused_geometry_layer", - "map_ruler", - "boundary_selector", - "draw_tools", - "geometry_uploader", - "legend_panel", - "url_store", - "feature_settings", - "layers_in_area", - "toasts", - "interactive_map", - "feed_selector", - "header", - "geocoder", - "communities", - "tooltip" - ], - "DEFAULT_FEED": "kontur-public", - "KEYCLOAK_URL": "https://keycloak01.kontur.io", - "KEYCLOAK_REALM": "kontur", - "KEYCLOAK_CLIENT_ID": "kontur_platform" -}