Skip to content

Commit 60bb64b

Browse files
authored
Merge pull request #99 from cevi/fix/production-enviroment-uses-dev-backend
Fix: Tile Cache not working properly
2 parents 0cf6319 + 9195da8 commit 60bb64b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/prod_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: DevBuild
1+
name: Productiv / Deployment Build
22

33
on:
44
push:
55
branches:
66
- 'master'
77

88
env:
9-
ANGULAR_CONFIGURATION: dev_build
9+
ANGULAR_CONFIGURATION: production
1010

1111
jobs:
1212
prodBuild:

pdf_map_export/swisstopo_config/config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
proxies:
2-
- !proxy
3-
scheme: http
4-
host: awt-tile-cache
5-
port: 8080
6-
matchers:
7-
- !localMatch
8-
reject: true
9-
- !acceptAll { }
1+
# proxies:
2+
# - !proxy
3+
# scheme: http
4+
# host: awt-tile-cache
5+
# port: 8080
6+
# matchers:
7+
# - !localMatch
8+
# reject: true
9+
# - !acceptAll { }
1010

1111
templates:
1212

python_program/automatic_walk_time_tables/map_downloader/create_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def create_map_layer(self, layer, default_matrices):
351351
image_type = 'png'
352352

353353
return {
354-
"baseURL": "http://wmts.geo.admin.ch/1.0.0/{Layer}/{style}/{Time}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}." + image_type,
354+
"baseURL": "https://wmts.geo.admin.ch/1.0.0/{Layer}/{style}/{Time}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}." + image_type,
355355
"dimensions": ["Time"],
356356
"dimensionParams": {"Time": "current"},
357357
"name": layer,
Binary file not shown.

webinterface/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "automatic-walk-time-tables",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"scripts": {
55
"ng": "ng",
66
"start": "angular-build-info && ng serve",

0 commit comments

Comments
 (0)