Skip to content

Commit

Permalink
Fix inbound medium links
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Dec 9, 2024
1 parent dadea86 commit 00c9840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/blog/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = function (server) {

// Redirect this entry to the file from which it was generated
// I use this when debugging user blogs.
if (entry.path && request.query && request.query.source)
if (entry.path && request.query && request.query.source && request.query.source === "true")
return response.redirect(entry.path);

if (entry.scheduled && !scheduled) return next();
Expand Down

0 comments on commit 00c9840

Please sign in to comment.