Actualiser Reskreen/settings.py

This commit is contained in:
2023-08-12 07:11:04 +00:00
parent 5409166509
commit 993ad598be

View File

@@ -205,7 +205,7 @@ USE_L10N = False
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = 'https://statics.ambulance-clerc.ch/static/'
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
@@ -383,6 +383,11 @@ JAZZMIN_UI_TWEAKS = {
},
}
# Simplified static file serving.
# https://pypi.org/project/whitenoise/
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
if cfg_dev_mode:
NEXTCLOUD_HOST = "cloud.ambulance-clerc.ch"
else: