mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Add support for different image directories
This changed the url for images, from file to media
This commit is contained in:
parent
8e54a3b4b6
commit
87a8254c73
7 changed files with 93 additions and 27 deletions
|
@ -36,6 +36,7 @@ WEBSITE_CONF = conf["website"]
|
|||
UPLOAD_FOLDER = os.path.join(user_dir, "media", "uploads")
|
||||
CACHE_FOLDER = os.path.join(user_dir, "media", "cache")
|
||||
PFP_FOLDER = os.path.join(user_dir, "media", "pfp")
|
||||
MEDIA_FOLDER = os.path.join(user_dir, "media")
|
||||
|
||||
# Database
|
||||
INSTANCE_DIR = instance_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue