diff options
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/Feeds.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js index 0a27ed3d..b5ca24b6 100644 --- a/vnext/src/components/Feeds.js +++ b/vnext/src/components/Feeds.js @@ -11,7 +11,7 @@ import { getMessages } from '../api'; export function Discover(props) { const query = { - baseUrl: "https://api.juick.com/messages", + baseUrl: "/messages", pageParam: 'before_mid' }; return (<Feed query={query} {...props} />) @@ -19,7 +19,7 @@ export function Discover(props) { export function Discussions(props) { const query = { - baseUrl: "https://api.juick.com/messages/discussions", + baseUrl: "/messages/discussions", pageParam: 'to' }; return (<Feed authRequired="true" query={query} {...props} />) @@ -28,7 +28,7 @@ export function Discussions(props) { export function Blog(props) { const { user } = props.match.params; const query = { - baseUrl: `https://api.juick.com/messages`, + baseUrl: `/messages`, search: { uname: user }, |