This commit is contained in:
acidburnmonkey
2025-08-06 02:24:09 -04:00
parent 9eede646c9
commit b5590f22da
4 changed files with 204 additions and 1 deletions
+4 -1
View File
@@ -126,6 +126,8 @@ STATICFILES_DIRS = [
BASE_DIR / "static",
]
STATIC_ROOT = BASE_DIR / 'staticfiles'
# Default primary key field type
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
@@ -134,7 +136,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# Security settings for production
SECURE_SSL_REDIRECT = True
SECURE_SSL_REDIRECT = False
USE_TLS = False
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
CSRF_COOKIE_SECURE = True
+1
View File
@@ -8,3 +8,4 @@ urlpatterns = [
path('robots.txt/', robots),
path('doxme/', Doxme.as_view()),
]