Actualiser Reskreen/settings.py
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user