Skip to content

Commit

Permalink
VERSION 2 release, temporary production links hardcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
danmash committed Oct 2, 2022
1 parent 95d78c7 commit 5c4c179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def reset_url(self):
_external=True,
).lower()

frontend_base_url = "https://app-frontend-test-001.azurewebsites.net"
frontend_base_url = "https://app.climatemind.org"
route_component = "/password-reset/"
hard_coded_url = frontend_base_url + route_component + str(self.uuid).lower()
return hard_coded_url
Expand Down
2 changes: 1 addition & 1 deletion app/sendgrid/templates/user_b_shared_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
<tbody>
<tr>
<td align="center" valign="middle" class="mcnButtonContent" style="font-family: Arial;font-size: 16px;padding: 16px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
<a class="mcnButton " title="Conversation" href="https://app-frontend-test-001.azurewebsites.net/sharelink?conversation=-conversation_uuid-" target="_blank" style="font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #07373B;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;">Login</a>
<a class="mcnButton " title="Conversation" href="https://app.climatemind.org/sharelink?conversation=-conversation_uuid-" target="_blank" style="font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #07373B;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;">Login</a>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/sendgrid/templates/welcome_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
<tbody>
<tr>
<td align="center" valign="middle" class="mcnButtonContent" style="font-family: Arial;font-size: 16px;padding: 16px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
<a class="mcnButton " title="Login" href="https://app-frontend-test-001.azurewebsites.net/login" target="_blank" style="font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #07373B;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;">Login</a>
<a class="mcnButton " title="Login" href="https://app.climatemind.org/login" target="_blank" style="font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #07373B;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;">Login</a>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 5c4c179

Please sign in to comment.