config: add swagger protocol in base.py

This commit is contained in:
behruz
2025-12-11 15:44:21 +05:00
parent 4174bd06b8
commit e3362670d7

View File

@@ -130,5 +130,9 @@ TENANT_MODEL = "customers.Client"
TENANT_DOMAIN_MODEL = "customers.Domain" TENANT_DOMAIN_MODEL = "customers.Domain"
SECURE_PROXY_SSL_HEADER = (
"HTTP_X_FORWARDED_PROTO",
env.str("SWAGGER_PROTOCOL", "https"),
)
from config.conf import * from config.conf import *