mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-28 16:12:13 +00:00
fix static file path
This commit is contained in:
parent
05475fb161
commit
7fce29cb71
8
.gitignore
vendored
8
.gitignore
vendored
@ -65,7 +65,7 @@ data/test_case/*
|
||||
!data/test_case/.gitkeep
|
||||
data/ssl/*
|
||||
!data/ssl/.gitkeep
|
||||
data/static/upload/*
|
||||
!data/static/upload/.gitkeep
|
||||
data/static/avatar/*
|
||||
!data/static/avatar/default.png
|
||||
data/public/upload/*
|
||||
!data/public/upload/.gitkeep
|
||||
data/public/avatar/*
|
||||
!data/public/avatar/default.png
|
||||
|
@ -109,7 +109,7 @@ USE_TZ = True
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/1.8/howto/static-files/
|
||||
|
||||
STATIC_URL = '/storage/'
|
||||
STATIC_URL = '/public/'
|
||||
|
||||
AUTH_USER_MODEL = 'account.User'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user