From f91cd67ad5ed0e10e95e58e8cf50e2e0457b4596 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jun 2018 12:09:45 +0300 Subject: fix feeds base urls --- vnext/src/components/Feeds.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnext/src/components') 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 () @@ -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 () @@ -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 }, -- cgit v1.2.3