⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor fix for the demo instance
daniel31x133067b6e2d343
diff --git a/apps/web/pages/api/v1/tags/index.ts b/apps/web/pages/api/v1/tags/index.tsindex d616fc53..cc5b9c6e 100644--- a/apps/web/pages/api/v1/tags/index.ts+++ b/apps/web/pages/api/v1/tags/index.ts@@ -17,6 +17,12 @@ export default async function tags(req: NextApiRequest, res: NextApiResponse) {}if (req.method === "POST") {+ if (process.env.NEXT_PUBLIC_DEMO === "true")+ return res.status(400).json({+ response:+ "This action is disabled because this is a read-only demo of Linkwarden.",+ });+const dataValidation = PostTagSchema.safeParse(req.body);if (!dataValidation.success) {