mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-06-24 05:35:10 +00:00
Add an API-only mode that hides the server's web UI. Closes #111
This commit is contained in:
@@ -6,6 +6,14 @@
|
||||
# this as "N0CALL" and it shouldn't do any harm, as we're not sending anything to the various networks, only receiving.
|
||||
server-owner-callsign: "N0CALL"
|
||||
|
||||
# Port to open the local web server on
|
||||
web-server-port: 8080
|
||||
|
||||
# Run in API-only mode? When enabled, the web UI is not served, only the API endpoints and the OpenAPI documentation
|
||||
# page. If you are running your own Spothole instance purely to serve client software, and not wanting visitors to
|
||||
# discover a full web-based cluster UI, enable this flag.
|
||||
api-only-mode: false
|
||||
|
||||
# The base URL at which the software runs.
|
||||
base-url: "http://localhost:8080"
|
||||
|
||||
@@ -192,9 +200,6 @@ solar-condition-providers:
|
||||
name: "KC2G Propagation Data"
|
||||
enabled: true
|
||||
|
||||
# Port to open the local web server on
|
||||
web-server-port: 8080
|
||||
|
||||
# Maximum time to keep spots and alerts in the system before deleting them. By default, one hour for spots and one week
|
||||
# for alerts.
|
||||
max-spot-age-sec: 3600
|
||||
|
||||
Reference in New Issue
Block a user