From b484e48d71ed3b78e5c54ebc12ab907750831d60 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Fri, 1 Sep 2023 09:55:15 +0200 Subject: [PATCH] Remove testing value in settings.py --- src/core/pyros_django/pyros/settings.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/core/pyros_django/pyros/settings.py b/src/core/pyros_django/pyros/settings.py index 5ccaf39..d08aafe 100644 --- a/src/core/pyros_django/pyros/settings.py +++ b/src/core/pyros_django/pyros/settings.py @@ -168,7 +168,7 @@ try: except: set_environment_variables_if_not_configured(ENV_PATH,ENV_SAMPLE_PATH) -ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu', 'astroguita.freeboxos.fr', '0.0.0.0'] +ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu', 'astroguita.hd.free.fr', '0.0.0.0'] # defining variables when using Docker if WITH_DOCKER: ALLOWED_HOSTS.append('0.0.0.0') @@ -443,8 +443,9 @@ MEDIA_URL = '/public/media/' # To find the static files in the app/static/app/... folders -STATIC_URL = '/test/static/' -#STATIC_URL = '/static/' +STATIC_URL = '/public/static/' +# testing +#STATIC_URL = '/test/static/' # To find the static files in src/static/. Any local directory can be added to this list. STATICFILES_DIRS = ( @@ -454,8 +455,9 @@ STATICFILES_DIRS = ( ) # Used for deployment (DEBUG = False). Need to run "python manage.py collectstatic" to fill it. -STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'test', 'static') - +STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'public', 'static') +# testing +# STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'test', 'static') # LOGGING = { # 'version': 1, # 'disable_existing_loggers': False, -- libgit2 0.21.2