Improve and condense related controls
This commit is contained in:
@@ -48,7 +48,13 @@ if DEBUG:
|
||||
SETTINGS_EXPORT = ["BILLING_ENABLED"]
|
||||
|
||||
SIGNAL_NUMBER = getenv("SIGNAL_NUMBER")
|
||||
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", "http://signal:8080")
|
||||
_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)
|
||||
|
||||
WHATSAPP_ENABLED = getenv("WHATSAPP_ENABLED", "false").lower() in trues
|
||||
WHATSAPP_HTTP_URL = getenv("WHATSAPP_HTTP_URL", "http://whatsapp:8080")
|
||||
|
||||
10
app/urls.py
10
app/urls.py
@@ -305,6 +305,16 @@ urlpatterns = [
|
||||
osint.OSINTSearch.as_view(),
|
||||
name="osint_search",
|
||||
),
|
||||
path(
|
||||
"osint/workspace/",
|
||||
osint.OSINTWorkspace.as_view(),
|
||||
name="osint_workspace",
|
||||
),
|
||||
path(
|
||||
"osint/workspace/widget/tabs/",
|
||||
osint.OSINTWorkspaceTabsWidget.as_view(),
|
||||
name="osint_workspace_tabs_widget",
|
||||
),
|
||||
path(
|
||||
"ai/<str:type>/create/",
|
||||
ais.AICreate.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user