From b89af4b7b0509b4dd5464651f9fc8f0a00cf46f6 Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 29 Sep 2021 02:42:19 +0200 Subject: [PATCH] [fix] bind key not needed --- config_panel.toml.example | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/config_panel.toml.example b/config_panel.toml.example index 81dfeac..588a3ef 100644 --- a/config_panel.toml.example +++ b/config_panel.toml.example @@ -82,7 +82,7 @@ services = ["nginx", "__APP__"] ## (optional) By default all questions are optionals, but you can specify a ## default behaviour for question in the section - # optional = true + optional = false ## (optional) It's also possible with the 'visible' property to display the ## question only if the user answer the form in a specific way. @@ -232,15 +232,15 @@ services = ["nginx", "__APP__"] source="__FINALPATH__/img/favicon.png" - [main.config_file.logo] - ask = "Logo" - type = "file" - accept = ".png" - optional = true - help = "You should upload a CA certificate to start" - [main.stripe] name = "Stripe general info" + optional = false + + # The next alert is overwrited with a getter from the config script + [main.stripe.amount] + ask = "Donation in the month : XX € + type = "alert" + style = "success" [main.stripe.publishable_key] ask = "Publishable key" @@ -269,4 +269,3 @@ services = ["nginx", "__APP__"] """ pattern.regexp = '^(one_time|recuring)/(EUR|USD)/price_.*$' pattern.error = "Please respect the format describe in help text for each price ID" - bind = ":/var/www/__APP__/settings.py"