mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-03-15 05:26:17 +00:00
add CADDY_ENABLED configuration from environment variable
This commit is contained in:
@@ -179,4 +179,6 @@ WIREGUARD_WEBADMIN_VERSION = 9976
|
|||||||
CLUSTER_WORKER_CURRENT_VERSION = 11
|
CLUSTER_WORKER_CURRENT_VERSION = 11
|
||||||
CLUSTER_WORKER_MINIMUM_VERSION = 11
|
CLUSTER_WORKER_MINIMUM_VERSION = 11
|
||||||
|
|
||||||
|
CADDY_ENABLED = os.getenv("CADDY_ENABLED", "false").lower() == "true"
|
||||||
|
|
||||||
from wireguard_webadmin.production_settings import *
|
from wireguard_webadmin.production_settings import *
|
||||||
|
|||||||
Reference in New Issue
Block a user