Skip to content

Commit

Permalink
Make all text content consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed Apr 26, 2024
1 parent d0e8226 commit f8a6184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# SECURITY WARNING: keep the secret key used in production secret!
BASE_URL = os.environ["BASE_URL"] # Of the form "https://www.voterbowl.org"
BASE_HOST = BASE_URL.split("://")[1].split(":", 1)[0]
BASE_HOST = BASE_URL.split("://")[1]
if not DEBUG and not BASE_URL.startswith("https://"):
raise ValueError("BASE_URL must be HTTPS in production")
if BASE_URL.endswith("/"):
Expand Down
1 change: 1 addition & 0 deletions server/vb/templates/email/code/body.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "email/base/body.txt" %}

{% block message %}Hi {{ student.first_name }},

Your ${{ contest_entry.amount_won }} Amazon gift code is: {{ claim_code }}

Copy and paste it into Amazon's gift card redemption page to claim your gift.
Expand Down

0 comments on commit f8a6184

Please sign in to comment.