Skip to content

Commit

Permalink
Add https:// to API url
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemanger committed Nov 25, 2024
1 parent 6f054e5 commit d8453b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To use the backend, simply install the package (using pip), set the `EMAIL_BACKE
1. `SENDGRID_TRACK_EMAIL_OPENS` - defaults to true and tracks email open events via the Sendgrid service. These events are logged in the Statistics UI, Email Activity interface, and are reported by the Event Webhook.
1. `SENDGRID_TRACK_CLICKS_HTML` - defaults to true and, if enabled in your Sendgrid account, will tracks click events on links found in the HTML message sent.
1. `SENDGRID_TRACK_CLICKS_PLAIN` - defaults to true and, if enabled in your Sendgrid account, will tracks click events on links found in the plain text message sent.
1. `SENDGRID_HOST_URL` - Allows changing the base API URI. Set to `api.eu.sendgrid.com` to use the EU region.
1. `SENDGRID_HOST_URL` - Allows changing the base API URI. Set to `https://api.eu.sendgrid.com` to use the EU region.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion test/test_post_to_sendgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_eu_post(self):
settings = {
"DEBUG": True,
"SENDGRID_API_KEY": SENDGRID_API_KEY,
"SENDGRID_HOST_URL": "api.eu.sendgrid.com",
"SENDGRID_HOST_URL": "https://api.eu.sendgrid.com",
"EMAIL_BACKEND": "sendgrid_backend.SendgridBackend",
}

Expand Down

0 comments on commit d8453b6

Please sign in to comment.