Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro0218 committed Nov 15, 2024
1 parent 155d565 commit fe93b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/ogp/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ app.get(
);

app.get('/', (c) => {
const title = (c.req.query('title') ?? DUMMY_TITLE).replace(/</g, '&lt;').replace(/>/g, '&gt;');
const title = (c.req.query('title') || DUMMY_TITLE).replace(/</g, '&lt;').replace(/>/g, '&gt;');

return c.html(<Template title={title} />);
});
Expand Down

0 comments on commit fe93b03

Please sign in to comment.