We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d497b commit d3cb254Copy full SHA for d3cb254
requirements.txt
@@ -10,4 +10,4 @@ alembic==1.10.2
10
PyMuPDF==1.21.1
11
pydantic-settings==2.0.2
12
email-validator==2.0.0.post2
13
-python-multipart==0.0.7
+python-multipart==0.0.18
training-front-end/src/plugins/uswds_links.js
@@ -18,8 +18,11 @@ export function processLinksPlugin() {
18
// these will all be local, so ignore
19
return
20
}
21
-
22
- if (!(domain.hostname === 'gsa.gov' || domain.hostname === 'www.gsa.gov'|| domain.protocol === 'mailto:')) {
+ const internalHost = [
+ 'gsa.gov',
23
+ 'www.gsa.gov'
24
+ ]
25
+ if (!(internalHost.includes(domain.hostname) || domain.protocol === 'mailto:')) {
26
properties.className += ' usa-link--external'
27
28
0 commit comments