updatd copy to remove uk references

This commit is contained in:
Alex Janousek
2026-02-04 10:39:48 -05:00
parent f9cf75ba85
commit 91edb4cade
5 changed files with 5 additions and 5 deletions

View File

@@ -316,7 +316,7 @@ the VSCode dev container.
1. `make run-flask` from within the devcontainer 1. `make run-flask` from within the devcontainer
2. Run `make a11y-scan` from your host computer. 2. Run `make a11y-scan` from your host computer.
## Further docs from UK ## Further documentation
- [Working with static assets](docs/static-assets.md) - [Working with static assets](docs/static-assets.md)
- [JavaScript documentation](https://github.com/alphagov/notifications-manuals/wiki/JavaScript-Documentation) - [JavaScript documentation](https://github.com/alphagov/notifications-manuals/wiki/JavaScript-Documentation)

View File

@@ -21,7 +21,7 @@ INVALID_FUTURE_TOKEN_ERROR_MESSAGE = "Token can not be in the future"
def create_jwt_token(secret, client_id): def create_jwt_token(secret, client_id):
""" """
Create JWT token for GOV.UK Notify Create JWT token for Notify.gov
Tokens have standard header: Tokens have standard header:
{ {

View File

@@ -6,7 +6,7 @@ REQUEST_ERROR_STATUS_CODE = 503
REQUEST_ERROR_MESSAGE = "Request failed" REQUEST_ERROR_MESSAGE = "Request failed"
TOKEN_ERROR_GUIDANCE = "See our requirements for JSON Web Tokens \ TOKEN_ERROR_GUIDANCE = "See our requirements for JSON Web Tokens \
at https://docs.notifications.service.gov.uk/rest-api.html#authorisation-header" at https://github.com/GSA/notifications-api/tree/main/docs"
TOKEN_ERROR_DEFAULT_ERROR_MESSAGE = "Invalid token: " + TOKEN_ERROR_GUIDANCE TOKEN_ERROR_DEFAULT_ERROR_MESSAGE = "Invalid token: " + TOKEN_ERROR_GUIDANCE

View File

@@ -3,5 +3,5 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title> <title>
Preview GOV.UK Notify Preview Notify.gov
</title> </title>

View File

@@ -557,7 +557,7 @@ class BaseEmailTemplate(SubjectMixin, Template):
That's still an extremely long email, and should be sufficient for all normal use, while at the same That's still an extremely long email, and should be sufficient for all normal use, while at the same
time giving us safe margin while sending the emails through Amazon SES. time giving us safe margin while sending the emails through Amazon SES.
EDIT: putting size up to 2MB as GOV.UK email digests are hitting the limit. EDIT: putting size up to 2MB as email digests were hitting the limit.
""" """
return self.content_size_in_bytes > 2000000 return self.content_size_in_bytes > 2000000