dev: environment settings (#2794)

* dev: update environment configuration

* dev: update the takeoff script for instance registration
This commit is contained in:
Nikhil 2023-11-19 01:48:05 +05:30 committed by sriram veeraghanta
parent 63b6150b9c
commit 728213e3fd
5 changed files with 15 additions and 11 deletions

View file

@ -27,9 +27,6 @@ DEBUG = False
# Allowed Hosts
ALLOWED_HOSTS = ["*"]
# Redirect if / is not present
APPEND_SLASH = True
# Application definition
INSTALLED_APPS = [
"django.contrib.auth",
@ -301,7 +298,7 @@ if bool(os.environ.get("SENTRY_DSN", False)):
],
traces_sample_rate=1,
send_default_pii=True,
environment=os.environ.get("ENVIRONMENT", "development"),
environment=os.environ.get("SENTRY_ENVIRONMENT", "development"),
profiles_sample_rate=1.0,
)