Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit deb25dc

Browse files
author
Sean
authored
Merge pull request #315 from GSA/sc_update-developers-link
Update developers link
2 parents 547bb55 + aa5fcd7 commit deb25dc

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

.snyk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ ignore:
178178
- webpack > watchpack > chokidar > readdirp > micromatch > extglob > expand-brackets > snapdragon > base > cache-base > union-value > set-value:
179179
reason: None given
180180
expires: '2019-07-31T13:47:46.480Z'
181+
SNYK-JS-AXIOS-472067:
182+
- '@code.gov/api-client > axios':
183+
reason: no patch available
184+
expires: '2019-11-08T17:56:49.923Z'
185+
- '@code.gov/site-map-generator > @code.gov/api-client > axios':
186+
reason: no patch available
187+
expires: '2019-11-08T17:56:49.923Z'
181188
# patches apply the minimum changes required to fix a vulnerability
182189
patch:
183190
SNYK-JS-AXIOS-174505:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you want to override that, specify an `CODE_GOV_API_KEY` environmental variab
4444
CODE_GOV_API_KEY=l87sfdi7ybc2bic7bai8cb2i176c3b872tb3 npm run start
4545
```
4646

47-
You can sign up for an API key at [developers.code.gov](https://developers.code.gov/key.html).
47+
You can sign up for an [API key](https://open.gsa.gov/api/codedotgov/).
4848

4949
### File Structure
5050

config/site/site.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{
4141
"name": "DEVELOPERS",
4242
"links": [
43-
{ "name": "code.gov API", "url": "https://developers.code.gov/basics.html" },
43+
{ "name": "code.gov API", "url": "https://open.gsa.gov/api/codedotgov/" },
4444
{ "name": "Open Tasks", "url": "/open-tasks?page=1&size=10" },
4545
{
4646
"name": "Notebooks",
@@ -85,7 +85,7 @@
8585
{
8686
"name": "Developers",
8787
"links": [
88-
{ "name": "code.gov API", "url": "https://developers.code.gov/basics.html" },
88+
{ "name": "code.gov API", "url": "https://open.gsa.gov/api/codedotgov/" },
8989
{ "name": "Open Tasks", "url": "/open-tasks?page=1&size=10" },
9090
{
9191
"name": "Notebooks",

src/components/menu/__snapshots__/menu.container.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Object {
5252
"links": Array [
5353
Object {
5454
"name": "code.gov API",
55-
"url": "https://developers.code.gov/basics.html",
55+
"url": "https://open.gsa.gov/api/codedotgov/",
5656
},
5757
Object {
5858
"name": "Open Tasks",

src/components/mobile-menu/__snapshots__/mobile-menu.container.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Object {
4949
"links": Array [
5050
Object {
5151
"name": "code.gov API",
52-
"url": "https://developers.code.gov/basics.html",
52+
"url": "https://open.gsa.gov/api/codedotgov/",
5353
},
5454
Object {
5555
"name": "Open Tasks",

src/utils/other.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function getConfigValue(path) {
6363
if (!value) {
6464
console.warn(`We weren't able to find the value for ${path} in your code-gov-config.json file.
6565
You can consult examples under the folder found at config/site/examples
66-
or consult our developer documentation here: https://developers.code.gov/configure.html`)
66+
or consult our developer documentation here: https://open.gsa.gov/api/codedotgov/`)
6767
}
6868
return value
6969
}

0 commit comments

Comments
 (0)