remove cast env var

This commit is contained in:
Simon
2025-03-08 18:36:40 +07:00
parent 7229cf1930
commit f0e932544e
2 changed files with 0 additions and 11 deletions

View File

@@ -85,7 +85,6 @@ class Command(BaseCommand):
self._elastic_user_overwrite()
self._ta_port_overwrite()
self._ta_backend_port_overwrite()
self._enable_cast_overwrite()
self._create_superuser()
def _expected_vars(self):
@@ -167,14 +166,6 @@ class Command(BaseCommand):
self.stdout.write(self.style.SUCCESS(message))
def _enable_cast_overwrite(self):
"""enable cast env var"""
self.stdout.write("[6] check ENABLE_CAST overwrite")
overwrite = EnvironmentSettings.ENABLE_CAST
if not overwrite:
self.stdout.write(self.style.SUCCESS(" ENABLE_CAST is not set"))
return
def _disable_static_auth(self):
"""cast workaround, remove auth for static files in nginx"""
self.stdout.write("[7] check DISABLE_STATIC_AUTH overwrite")