Skip to content

Commit

Permalink
open ports for api
Browse files Browse the repository at this point in the history
  • Loading branch information
zytfo committed Jan 15, 2024
1 parent 1e0884e commit a711216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:
image: amit19/pygmy
restart: always
build: .
# ports:
# - "9119:9119"
ports:
- "9119:9119"
links:
- database
environment:
Expand Down
2 changes: 1 addition & 1 deletion pygmyui/pygmyui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'django.middleware.security.SecurityMiddleware',
# 'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
# 'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
# 'django.contrib.auth.middleware.AuthenticationMiddleware',
# 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
Expand Down

0 comments on commit a711216

Please sign in to comment.