UI improvements

This commit is contained in:
daniel31x13
2024-07-18 16:29:59 -04:00
parent 92c7f40956
commit a8ffbc87d1
17 changed files with 84 additions and 22 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export default async function users(req: NextApiRequest, res: NextApiResponse) {
.status(data.status)
.json(data.response);
} else if (req.method === "POST") {
if (process.env.DEMO_MODE === "true")
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.",