diff --git a/manifest.json b/manifest.json index ce3c935..af4a469 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 2, - "version": "1.1.2", + "version": "1.1.3", "name": "InkStone", "short_name": "InkStone", "default_locale": "en", diff --git a/package.json b/package.json index f214dec..52ec564 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "inkstone", "description": "An Aurelia client application.", - "version": "1.1.2", + "version": "1.1.3", "repository": { "type": "git", "url": "https://github.com/dissolve/inkstone" diff --git a/src/post.js b/src/post.js index 086ae6a..974adc4 100644 --- a/src/post.js +++ b/src/post.js @@ -44,9 +44,14 @@ export class PostDetails { this.mp_configs = null this.mp.get_configs().then(data => { //this.syndication_targets = data['syndicate-to'] - this.mp_configs = data + this.mp_configs = data; }).catch(error => { - console.log(error); + this.mp.get_syndication_targets().then(data => { + //this.syndication_targets = data['syndicate-to'] + this.mp_configs = {'syndicate-to' : data}; + }).catch(error => { + console.log(error); + }); }); /* //FOR DEBUGGING diff --git a/worker.js b/worker.js index 774d13d..efe2c63 100644 --- a/worker.js +++ b/worker.js @@ -1,4 +1,4 @@ -var CACHE_NAME = 'inkstone-v1.1.2'; +var CACHE_NAME = 'inkstone-v1.1.3'; var BASE_DIR = '/inkstone'; // The files we want to cache