summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-11-17 16:54:05 +0200
committerYuval Adam <_@yuv.al>2017-11-17 16:54:05 +0200
commitfcd120097d3ad16962d71e7ff17deb1053f14041 (patch)
treef38e548b67df672db42bacc7b657e7134391ccb9
parent58b22a1e411c45c133fc5a9d53ee775013b42c16 (diff)
Update index JSON URL
-rw-r--r--Geshem.vue2
-rw-r--r--README.md5
2 files changed, 4 insertions, 3 deletions
diff --git a/Geshem.vue b/Geshem.vue
index 633d7ef..e7cac1e 100644
--- a/Geshem.vue
+++ b/Geshem.vue
@@ -71,7 +71,7 @@
},
mounted: function () {
var vm = this;
- axios.get('/imgs').then((res) => {
+ axios.get('//imgs.geshem.space/imgs.json').then((res) => {
vm.imgs = res.data;
if (vm.mapLoaded) {
vm.loadSources();
diff --git a/README.md b/README.md
index 2e5a50e..3332d64 100644
--- a/README.md
+++ b/README.md
@@ -3,14 +3,15 @@
An interactive rain radar clone running on Mapbox GL, see it live at: [https://geshem.space](https://geshem.space)
The entire service is served off of static assets located in S3 buckets:
- - A staticmain index page, JS bundle and other static assets that are uploaded upon deploy
+ - A static main index page, JS bundle and other static assets that are uploaded upon deploy
- Radar images that collected and indexed every minute by a recurring task running on AWS Lambda
## Prerequisites
- Node.js
- Yarn
- - Serverless
+ - Serverless, for deploying the AWS Lambda task
+ - AWS CLI, for static asset deployment to S3
## Dev