hotpocket/services/backend/hotpocket_backend/settings/deployment/admin.py
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

19 lines
423 B
Python

# -*- coding: utf-8 -*-
# type: ignore
# flake8: noqa
from __future__ import annotations
from hotpocket_backend.settings.admin import *
DEBUG = False
ALLOWED_HOSTS = os.environ.get('HOTPOCKET_BACKEND_ALLOWED_HOSTS', '').split(',')
MIDDLEWARE = [
*MIDDLEWARE,
'whitenoise.middleware.WhiteNoiseMiddleware',
]
STORAGES['staticfiles'] = {
'BACKEND': 'whitenoise.storage.CompressedManifestStaticFilesStorage',
}