Commit fe3a0c2f by 周田

fix:静态文件打包

parent 5056d3a6
......@@ -31,8 +31,8 @@ ALLOWED_HOSTS = ['*']
# Application definition
INSTALLED_APPS = [
# 'daphne',
# 'chat',
'daphne',
'chat',
'device_data_op',
'protocol_version_manage',
......@@ -130,7 +130,8 @@ USE_TZ = True
STATIC_URL = '/assets/'
STATIC_ROOT = os.path.join(BASE_DIR, 'assets')
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'frontend', 'dist', 'assets')
os.path.join(BASE_DIR, 'frontend', 'dist', 'assets'),
os.path.join(BASE_DIR, 'frontend', 'dist'),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment