Fix issues with multiplatform conversation displays
This commit is contained in:
@@ -48,13 +48,7 @@ if DEBUG:
|
||||
SETTINGS_EXPORT = ["BILLING_ENABLED"]
|
||||
|
||||
SIGNAL_NUMBER = getenv("SIGNAL_NUMBER")
|
||||
_container_runtime = getenv("container", "").strip().lower()
|
||||
_signal_default_url = (
|
||||
"http://127.0.0.1:8080"
|
||||
if _container_runtime == "podman"
|
||||
else "http://signal:8080"
|
||||
)
|
||||
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", _signal_default_url)
|
||||
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", "http://signal:8080")
|
||||
|
||||
WHATSAPP_ENABLED = getenv("WHATSAPP_ENABLED", "false").lower() in trues
|
||||
WHATSAPP_HTTP_URL = getenv("WHATSAPP_HTTP_URL", "http://whatsapp:8080")
|
||||
|
||||
@@ -36,6 +36,7 @@ from core.views import (
|
||||
queues,
|
||||
sessions,
|
||||
signal,
|
||||
system,
|
||||
whatsapp,
|
||||
workspace,
|
||||
)
|
||||
@@ -54,6 +55,11 @@ urlpatterns = [
|
||||
notifications.NotificationsUpdate.as_view(),
|
||||
name="notifications_update",
|
||||
),
|
||||
path(
|
||||
"settings/system/",
|
||||
system.SystemSettings.as_view(),
|
||||
name="system_settings",
|
||||
),
|
||||
path(
|
||||
"services/signal/",
|
||||
signal.Signal.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user