19 lines
423 B
Python
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',
|
|
}
|