diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 11ba10c8..bdaae17b 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -869,7 +869,7 @@ export const updateItem = async (parent, { id, data: { title, url, text, boost, // if it's not the FAQ, not their bio, and older than 10 minutes const user = await models.user.findUnique({ where: { id: me.id } }) - if (![349, 76894, 78763].includes(old.id) && user.bioId !== id && Date.now() > new Date(old.createdAt).getTime() + 10 * 60000) { + if (![349, 76894, 78763, 81862].includes(old.id) && user.bioId !== id && Date.now() > new Date(old.createdAt).getTime() + 10 * 60000) { throw new UserInputError('item can no longer be editted') } diff --git a/components/footer.js b/components/footer.js index 8bd56a44..e72fa59e 100644 --- a/components/footer.js +++ b/components/footer.js @@ -175,6 +175,12 @@ export default function Footer ({ noLinks }) { \ + + + guide + + + \ story diff --git a/next.config.js b/next.config.js index 2c9a6179..5940ec84 100644 --- a/next.config.js +++ b/next.config.js @@ -63,6 +63,10 @@ module.exports = withPlausibleProxy()({ source: '/changes', destination: '/items/78763' }, + { + source: '/guide', + destination: '/items/81862' + }, { source: '/.well-known/lnurlp/:username', destination: '/api/lnurlp/:username'