Make promotional post default for now

This commit is contained in:
Adolfo Reyna
2025-02-05 20:50:38 -05:00
parent 309ae1b69b
commit c2169c9604

View File

@@ -77,7 +77,7 @@ DB.getDB.then((DB) => {
return mergedPosts;
};
router.get("/", async (req, res) => {
router.get("/organic", async (req, res) => {
const profileid = getProfileId(req);
let organicPosts = await DB.getFeed(profileid);
//Add non-organic posts
@@ -86,7 +86,7 @@ DB.getDB.then((DB) => {
return res.json(posts);
});
router.get("/extended", async (req, res) => {
router.get("/", async (req, res) => {
const profileid = getProfileId(req);
//Add non-organic posts
const nonOrganicPosts = await generateNonOrganicPosts(req, profileid);