From 1f6b4c9f511c30197efd51c23f965ced10328c29 Mon Sep 17 00:00:00 2001 From: EngineerAbdul <50158794+EngineerAbdul@users.noreply.github.com> Date: Wed, 1 May 2019 03:38:47 +0100 Subject: [PATCH] Json --- install.json | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/install.json b/install.json index 8b7e3ef..31e926e 100644 --- a/install.json +++ b/install.json @@ -33,6 +33,60 @@ } ] }, + "options": { + "properties": { + "location": { + "title": "Message Location", + "description": "Where should the message appear?", + "order": 0, + "type": "object", + "format": "element", + "default": { + "selector": "body", + "method": "prepend" + } + }, + "message": { + "title": "Message", + "description": "A short example message.", + "type": "string", + "format": "richtext", + "order": 1, + "default": "
Download this app every time you want to make a new project.
This app renders a message to the user's website, installs a Cloudflare Worker that adds a 'Hello-Workers' header to each request, and sets a TXT DNS record with a value of 'Hello DNS'. The first Cloudflare Workers script in install.json will run on every request to the user's website. Currently, one Worker is allowed per app, but you may set an unlimited number of DNS records.
" + } + } + } +} +