mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 05:21:36 +03:00
ae2f34c910
no issue - move the post lookup functionality into its own file - handle the pre and post lookup checks to verify that we found the correct post - checking that the URL matches handles checking that a post looked up with pagePermalink is a page - all cases where there is no match throws a 404 directly, this could just call next() ? |
||
---|---|---|
.. | ||
channel-config.js | ||
channels.js | ||
context.js | ||
error.js | ||
fetch-data.js | ||
format-response.js | ||
index.js | ||
post-lookup.js | ||
render-channel.js | ||
secure.js | ||
templates.js |