Skip to content

Commit

Permalink
fix: move to corsar.ory.sh (ory#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 2, 2020
1 parent aa45da3 commit afa218c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Stats extends Component<PropTypes, StateTypes> {
}

fetchGitHubStars = (repo: GitHubRepos) => {
const url = `https://corsar.herokuapp.com/repos/ory/${repo}?__host=api.github.com&__proto=https`
const url = `https://corsar.ory.sh/repos/ory/${repo}?__host=api.github.com&__proto=https`
// const url = `https://api.github.com/repos/ory/${repo}`
fetch(url)
.then(body => body.json())
Expand All @@ -172,7 +172,7 @@ class Stats extends Component<PropTypes, StateTypes> {

fetchDockerImagePulls = (repo: DockerImages) => {
fetch(
`https://corsar.herokuapp.com/v2/repositories/${repo}/?__host=hub.docker.com&__proto=https`
`https://corsar.ory.sh/v2/repositories/${repo}/?__host=hub.docker.com&__proto=https`
)
.then(body => body.json())
.then(({ pull_count }: { pull_count: number }) => {
Expand Down

0 comments on commit afa218c

Please sign in to comment.