Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 update api links to new scorecard.dev site #629

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# OpenSSF Scorecard API and website

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/ossf/scorecard-webapp/badge)](https://api.securityscorecards.dev/projects/github.com/ossf/scorecard-webapp)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/ossf/scorecard-webapp/badge)](https://api.scorecard.dev/projects/github.com/ossf/scorecard-webapp)
[![Netlify Status](https://api.netlify.com/api/v1/badges/d631bbe2-0e67-48ae-81a7-d7015195c9fd/deploy-status)](https://app.netlify.com/sites/ossf-scorecard/deploys)

## scorecard-webapp

Code for https://securityscorecards.dev
Code for https://scorecard.dev
([`./scorecards-site`](./scorecards-site)) and
https://api.securityscorecards.dev ([`./app`](./app)).
https://api.scorecard.dev ([`./app`](./app)).

The site is deployed on Netlify and the deployment configuration is in
[netlify.toml](./netlify.toml). Any changes committed to
Expand Down
2 changes: 1 addition & 1 deletion app/generated/client/open_ssf_scorecard_api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/generated/restapi/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/generated/restapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/generated/restapi/static/swagger-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ window.onload = function() {

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "https://api.securityscorecards.dev/swagger.json",
url: "https://api.scorecard.dev/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
Expand Down
2 changes: 1 addition & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ info:
title: OpenSSF Scorecard API
description: API to interact with a project's published Scorecard result
version: 1.0.0
host: api.securityscorecards.dev
host: api.scorecard.dev
schemes:
- http

Expand Down
2 changes: 1 addition & 1 deletion scorecards-site/static/viewer/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
OpenSSF Scorecard result viewer

This page fetches the OpenSSF Scorecard result requested from https://api.securityscorecards.dev
This page fetches the OpenSSF Scorecard result requested from https://api.scorecard.dev
and displays it nicely.

Its behavior can be controlled with the following query string parameters:
Expand Down