Skip to content

Commit

Permalink
Merge pull request #129 from Pet-projects-CodePET/feature/ssl
Browse files Browse the repository at this point in the history
hardcode for dev server
  • Loading branch information
VladislavCR authored Mar 22, 2024
2 parents 1ff53bd + 6b2e8d8 commit d4bdb6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion infra/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM nginx:1.25.4-alpine-slim

ARG NGINX_NAME

COPY ./${NGINX_NAME} /etc/nginx/templates/default.conf.template
COPY nginx_dev.conf /etc/nginx/templates/default.conf.template
6 changes: 3 additions & 3 deletions src/backend/config/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EMAIL_PORT = 587

CORS_ALLOWED_ORIGINS = [
"http://89.23.117.80",
"http://devcodepet.tw1.ru",
"http://localhost:3000",
"https://89.23.117.80",
"https://devcodepet.tw1.ru",
"https://localhost:3000",
]
6 changes: 3 additions & 3 deletions src/backend/config/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
EMAIL_PORT = 587

CORS_ALLOWED_ORIGINS = [
"http://89.23.117.168",
"http://testcodepet.tw1.ru",
"http://localhost:3000",
"https://89.23.117.168",
"https://testcodepet.tw1.ru",
"https://localhost:3000",
]

0 comments on commit d4bdb6f

Please sign in to comment.