Add heroku-specific stuff

pull/1/head
hikariatama 2022-05-28 07:39:24 +00:00
parent 6cde31579f
commit 692402a8ea
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ setup:
as: DATABASE
build:
docker:
hikka: Heroku
web: Heroku

View File

@ -215,7 +215,7 @@ BASE_DIR = (
LOADED_MODULES_DIR = os.path.join(BASE_DIR, "loaded_modules")
if not os.path.isdir(LOADED_MODULES_DIR):
if not os.path.isdir(LOADED_MODULES_DIR) and "DYNO" not in os.environ:
os.mkdir(LOADED_MODULES_DIR, mode=0o755)