Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…r-eCommerce into master
  • Loading branch information
hossainchisty committed Jan 10, 2022
2 parents 6d3862e + 877bb03 commit dbfcd9a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml

This file was deleted.

10 changes: 10 additions & 0 deletions Project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,16 @@
LOGOUT_URL = 'customer_sign_out'
LOGOUT_REDIRECT_URL = 'customer_sign_in'

# Security Principles
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
SECURE_BROWSER_XSS_FILTER = True
SECURE_HSTS_SECONDS = 31536000
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_HSTS_PRELOAD = True
SECURE_CONTENT_TYPE_NOSNIFF = True
CSRF_COOKIE_SECURE = True

# Activate Django-Heroku.
if 'HEROKU' in os.environ:
Expand Down
2 changes: 1 addition & 1 deletion Project/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.urls import include, path

urlpatterns = [
path('admin/', admin.site.urls),
path('secret/', admin.site.urls),
path('', include('core.urls')),
path('blog/', include('blog.urls')),
path('vendor/', include('vendor.urls')),
Expand Down

0 comments on commit dbfcd9a

Please sign in to comment.