Skip to content

Commit

Permalink
fix(config): fix versioning in url paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pwambach committed Mar 10, 2020
1 parent 2b046ce commit f691dad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"electron:install": "electron-builder install-app-deps",
"electron:clean": "rm -rf ./dist-electron",
"electron:build": "npm run electron:clean && npm run electron:install && npm run build:electron && electron-builder -mwl --x64 --config electron-builder.json",
"upload-storage": "gsutil rsync -r -x \".DS_Store\" ./storage gs://esa-cfs-storage && gsutil acl ch -r -u AllUsers:R gs://esa-cfs-storage && gsutil setmeta -h \"Cache-Control: no-cache\" gs://esa-cfs-storage/**/*"
"upload-storage": "gsutil rsync -r -x \".DS_Store\" ./storage gs://esa-cfs-storage && gsutil setmeta -h \"Cache-Control: no-cache\" gs://esa-cfs-storage/**/*"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/config/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const version = INFO_VERSION;
export default {
api: {
layers: `https://storage.googleapis.com/esa-cfs-storage/${version}/layers/layers-{lang}.json`,
layer: `https://storage.googleapis.com/esa-cfs-tiles/generated/${version}/{id}/metadata.json`,
layerTiles: `https://storage.googleapis.com/esa-cfs-tiles/generated/${version}/{id}/tiles/{timeIndex}/{z}/{x}/{reverseY}.png`,
layerOfflinePackage: `https://storage.googleapis.com/esa-cfs-tiles/generated/${version}/{id}/package.zip`,
layer: `https://storage.googleapis.com/esa-cfs-tiles/${version}/{id}/metadata.json`,
layerTiles: `https://storage.googleapis.com/esa-cfs-tiles/${version}/{id}/tiles/{timeIndex}/{z}/{x}/{reverseY}.png`,
layerOfflinePackage: `https://storage.googleapis.com/esa-cfs-tiles/${version}/{id}/package.zip`,
stories: `https://storage.googleapis.com/esa-cfs-storage/${version}/stories/stories-{lang}.json`,
story: `https://storage.googleapis.com/esa-cfs-storage/${version}/stories/{id}/{id}-{lang}.json`
},
Expand Down

0 comments on commit f691dad

Please sign in to comment.