UI improvements
This commit is contained in:
@@ -11,7 +11,7 @@ export default async function tokens(
|
||||
if (!user) return;
|
||||
|
||||
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.",
|
||||
|
||||
Reference in New Issue
Block a user