Commit 2d1c1398 authored by Ilham Maulana's avatar Ilham Maulana 💻

try deploy but failed

parent 4205c2d6
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
*.sqlite3 *.sqlite3
media media
uploads uploads
static
# Backup files # # Backup files #
*.bak *.bak
......
...@@ -13,4 +13,5 @@ LIST_HOST = [ ...@@ -13,4 +13,5 @@ LIST_HOST = [
"localhost", "localhost",
"127.0.0.1", "127.0.0.1",
"192.168.2.252", "192.168.2.252",
"library_app.ilhammaulana.me",
] ]
...@@ -25,7 +25,6 @@ SECRET_KEY = "PkJtZr9Ctg7/Rg2PraJTxlW3w0szR8pi0UKylLc/5+lGGt+Z8zIctlRrRcgcC40aje ...@@ -25,7 +25,6 @@ SECRET_KEY = "PkJtZr9Ctg7/Rg2PraJTxlW3w0szR8pi0UKylLc/5+lGGt+Z8zIctlRrRcgcC40aje
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
ALLOWED_HOSTS = LIST_HOST ALLOWED_HOSTS = LIST_HOST
...@@ -132,7 +131,7 @@ USE_TZ = True ...@@ -132,7 +131,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.0/howto/static-files/ # https://docs.djangoproject.com/en/5.0/howto/static-files/
STATIC_URL = "/static/" STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "staticfiles" STATIC_ROOT = BASE_DIR / "static"
MEDIA_URL = "/media/" MEDIA_URL = "/media/"
MEDIA_ROOT = BASE_DIR MEDIA_ROOT = BASE_DIR
......
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