From 65116e21030bc2b8ee7caeb1125c2c3a42f14575 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 17 Mar 2022 11:36:16 -0400 Subject: v0.0.2: add curl support --- stackbin.conf.dev | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 stackbin.conf.dev (limited to 'stackbin.conf.dev') diff --git a/stackbin.conf.dev b/stackbin.conf.dev new file mode 100644 index 0000000..e2fa21f --- /dev/null +++ b/stackbin.conf.dev @@ -0,0 +1,28 @@ +DEBUG=True +SQLALCHEMY_DATABASE_URI='sqlite:///stackbin.db' +SQLALCHEMY_TRACK_MODIFICATIONS = False +SECRET_KEY='development-key' +SALT='jackson' +DELETESALT='differentstring' +APPNAME='stackbin' +# LOOP_DELAY in seconds is how many seconds between running the expiration cleanup task +LOOP_DELAY = 60 * 5 + +# Disable this variable entirely, to disable any choices for expiration +# Any very simple expression for relative time can be used here. This will be processed by pyparsedate. +EXPIRATION_OPTIONS = [ + "never", + "1 day", + "1 hour", + "15 minutes" +] + +#TEMPLATE_FOLDER = "/usr/share/stackbin/templates" +#STATIC_FOLDER = "/usr/share/stackbin/static" + +# If you turn these off, the admin panel is entirely disabled. +ADMIN_USERNAME = 'admin' +ADMIN_PASSWORD = 'fluffycat10' + +# Because the app generates the url entirely from scratch for a curl POST, the protocol can get lost, so you can force https if you define this variable. +CURL_RESPONSE_PROTOCOL = "https" -- cgit