Skip to content

Commit

Permalink
chore: edit settings
Browse files Browse the repository at this point in the history
  • Loading branch information
fivehanz committed Dec 16, 2023
1 parent 1f81d61 commit 0fec574
Show file tree
Hide file tree
Showing 4 changed files with 606 additions and 5 deletions.
2 changes: 0 additions & 2 deletions hanz/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
COMPRESS_ROOT = os.path.join(BASE_DIR, "static")
COMPRESS_ENABLED = True

APP_NAME = os.environ.get("FLY_APP_NAME")
ALLOWED_HOSTS = [f"{APP_NAME}.fly.dev"]

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
Expand Down
5 changes: 3 additions & 2 deletions hanz/settings/production.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from .base import *
import os

SECRET_KEY = os.environ["SECRET_KEY"]

SECRET_KEY = os.environ.get("SECRET_KEY")
APP_NAME = os.environ.get("FLY_APP_NAME")
ALLOWED_HOSTS = [f"{APP_NAME}.fly.dev", "new.hanz.lol"]
DEBUG = False

try:
Expand Down
1 change: 1 addition & 0 deletions static/CACHE/css/output.e9efe8f012d7.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0fec574

Please sign in to comment.