Tieing tianji to debug
Deploy Company Site / test (push) Successful in 10s
Deploy Company Site / deploy (push) Successful in 5s

This commit is contained in:
2026-06-28 07:00:55 -05:00
parent 9c7e02e41e
commit 0f2b255b59
+1 -1
View File
@@ -25,6 +25,7 @@ SECRET_KEY = 'django-insecure-0$+hho_6%-(ud^t%0zos(q&i@2&)9m+u&dgj77&51g$m#hr^0s
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
TIANJI_ENABLED = not DEBUG
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]
@@ -156,6 +157,5 @@ LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/' LOGOUT_REDIRECT_URL = '/'
# Tianji analytics (loaded only after user consent) # Tianji analytics (loaded only after user consent)
TIANJI_ENABLED = os.environ.get('TIANJI_ENABLED', 'true').lower() in ('1', 'true', 'yes')
TIANJI_TRACKER_URL = 'https://tianji.aimloperations.com/tracker.js' TIANJI_TRACKER_URL = 'https://tianji.aimloperations.com/tracker.js'
TIANJI_WEBSITE_ID = 'cm7w80pyy020oddswy2evl957' TIANJI_WEBSITE_ID = 'cm7w80pyy020oddswy2evl957'