Skip to content

Commit

Permalink
Merge pull request #1617 from ecency/bugfix/profile-posts
Browse files Browse the repository at this point in the history
Fixed wrong section fetching in SSR
  • Loading branch information
feruzm authored Jun 13, 2024
2 parents 8a2967d + a7968ad commit 41d723a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/handlers/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { makePreloadedState } from "../state";
import { render } from "../template";

export default async (req: express.Request, res: express.Response) => {
const { username, section = "blog" } = req.params;
const { username, section = "posts" } = req.params;
const address = `@${username}`;

let entries = {};
Expand Down

0 comments on commit 41d723a

Please sign in to comment.