Make promotional post default for now
This commit is contained in:
@@ -77,7 +77,7 @@ DB.getDB.then((DB) => {
|
|||||||
return mergedPosts;
|
return mergedPosts;
|
||||||
};
|
};
|
||||||
|
|
||||||
router.get("/", async (req, res) => {
|
router.get("/organic", async (req, res) => {
|
||||||
const profileid = getProfileId(req);
|
const profileid = getProfileId(req);
|
||||||
let organicPosts = await DB.getFeed(profileid);
|
let organicPosts = await DB.getFeed(profileid);
|
||||||
//Add non-organic posts
|
//Add non-organic posts
|
||||||
@@ -86,7 +86,7 @@ DB.getDB.then((DB) => {
|
|||||||
return res.json(posts);
|
return res.json(posts);
|
||||||
});
|
});
|
||||||
|
|
||||||
router.get("/extended", async (req, res) => {
|
router.get("/", async (req, res) => {
|
||||||
const profileid = getProfileId(req);
|
const profileid = getProfileId(req);
|
||||||
//Add non-organic posts
|
//Add non-organic posts
|
||||||
const nonOrganicPosts = await generateNonOrganicPosts(req, profileid);
|
const nonOrganicPosts = await generateNonOrganicPosts(req, profileid);
|
||||||
|
|||||||
Reference in New Issue
Block a user