From 8785f50d470dc6f23c5728447c8f3d5c04ca84f2 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 17 Mar 2022 17:33:42 -0400 Subject: include SET_URL conf setting for self-setting --- stackbin.conf.example | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stackbin.conf.example') diff --git a/stackbin.conf.example b/stackbin.conf.example index 518af7c..6400ff1 100644 --- a/stackbin.conf.example +++ b/stackbin.conf.example @@ -26,3 +26,8 @@ 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" + +# If this is set, at the first request, the web app will visit this url to set its own prefix. +# This is designed so that you can use your own final URL for the /set endpoint in a config file, +# so the app will auto-configure itself. +SET_URL = "https://example.com/stackbin/set" -- cgit