From fcf8845664e66362ace7bb134ea4948e40d10af3 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Wed, 11 Nov 2020 01:52:38 +0100 Subject: [PATCH] Add codemirror to db creation interface --- src/web/v1/admin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/v1/admin.ts b/src/web/v1/admin.ts index d9b8f28..f5806d9 100644 --- a/src/web/v1/admin.ts +++ b/src/web/v1/admin.ts @@ -168,7 +168,7 @@ AdminRoute.get( rootkey: { label: "Root access key", type: "text" }, rules: { label: "Rules", - type: "textarea", + type: "codemirror", value: `{\n ".write": true, \n ".read": true \n}`, }, publickey: { label: "Public Key", type: "textarea" },