aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-28 12:09:45 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commitf91cd67ad5ed0e10e95e58e8cf50e2e0457b4596 (patch)
tree5fa2e16892473c54564eef4efb5ac70ad9f47c40 /vnext/src/components
parent23d291df6146914683d5c414965a9f4396e464e2 (diff)
fix feeds base urls
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Feeds.js6
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
},