From acc8707af98cdc23fc66a1c7d7d2ce012bdc059c Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Mon, 9 May 2022 10:25:12 +0200 Subject: [PATCH] Add api-origin to example config If the service is not behind a reverse proxy (e.g. during local development/testing) then this is needed by meta.sr.ht for API discovery for all services that have a seperate API component. Add this (commented out) to the example config, to make it easier to discover (and require less documentation). --- config.example.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.example.ini b/config.example.ini index 5d5f05e..2061fc8 100644 --- a/config.example.ini +++ b/config.example.ini @@ -100,6 +100,11 @@ shell=/usr/bin/master-shell # # Set to "yes" to allow nonpaying users to submit builds allow-free=yes +# +# Origin URL for the API +# Only needed if not run behind a reverse proxy, e.g. for local development. +# By default, the API port is 100 more than the web port +#api-origin=http://localhost:5102 # # These config options are only necessary for systems running a build runner -- 2.38.5