feat(settings): [A] add stats file settings
[A] add stats file settings Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
a08a7fc8df
commit
aeb2e44fcb
@ -40,5 +40,13 @@ CORS_ALLOW_HEADERS = [
|
|||||||
|
|
||||||
CORS_ALLOW_HEADERS = ('*')
|
CORS_ALLOW_HEADERS = ('*')
|
||||||
|
|
||||||
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
|
PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||||
|
|
||||||
|
STATICFILES_DIRS = [
|
||||||
|
os.path.join(BASE_DIR, "frontend/dist/"),
|
||||||
|
]
|
||||||
|
|
||||||
|
MEDIA_URL = '/media/'
|
||||||
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user