Skip to content

Commit

Permalink
Merge branch 'develop' into feat/upgrade-cryptography-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gorskyolga authored Sep 16, 2024
2 parents 90eddfa + fa4e6d8 commit 67da501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30

# URLs проекта Procharity
PROCHARITY_URL=https://test6.procharity.corptest.ru/ # Основной URL проекта
PROCHARITY_URL=http://test6.procharity.corptest.ru/ # Основной URL проекта
HELP_PROCHARITY_URL=https://help.procharity.ru/ # URL "Ответы на вопросы" проекта
ACCESS_TOKEN_SEND_DATA_TO_PROCHARITY= # Токен для обновления данных на сайте
2 changes: 1 addition & 1 deletion src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def feedback_form_template_url(self) -> str:
@property
def procharity_task_url(self) -> str:
"""Получить url-ссылку на страницу с информацией о задании."""
return urljoin(self.PROCHARITY_URL, "webapp/")
return urljoin(self.PROCHARITY_URL.replace("http://", "https://"), "webapp/")

@property
def procharity_registration_url(self) -> str:
Expand Down

0 comments on commit 67da501

Please sign in to comment.