From fcd120097d3ad16962d71e7ff17deb1053f14041 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 17 Nov 2017 16:54:05 +0200 Subject: Update index JSON URL --- Geshem.vue | 2 +- README.md | 5 +++-- 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 -- cgit v1.3.1