diff --git a/social/d4s-social.js b/social/d4s-social.js index 651abd0..7f0859a 100644 --- a/social/d4s-social.js +++ b/social/d4s-social.js @@ -3,7 +3,7 @@ */ window.customElements.define('d4s-social-posts', class extends HTMLElement { - #basepath = 'https://api.d4science.org/rest' + #basepath = 'https://api.d4science.org' #from = 1 #quantity = 10 @@ -14,9 +14,9 @@ window.customElements.define('d4s-social-posts', class extends HTMLElement { #shadowRoot = null #unorderedlist = null - //#restRecentPosts = '/2/posts/get-posts-vre' // old get, gets all posts unfiltered - #restRecentPosts = '/2/posts/get-recent-posts-vre-by-range' - #restComments = '/2/comments/get-comments-by-post-id' + //#restRecentPosts = '/rest/2/posts/get-posts-vre' // old get, gets all posts unfiltered + #restRecentPosts = '/rest/2/posts/get-recent-posts-vre-by-range' + #restComments = '/rest/2/comments/get-comments-by-post-id' #style = `