We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So right now the viewer is opened with a link like this: https://securityscorecards.dev/viewer/?platform=github.com&org=ossf&repo=scorecard
But it may nice to support something like one of these
The first option is something that would be done in our router config, but I wasn't able to get this working:
router: { extendRoutes(routes, resolve) { routes.push({ path: '/viewer/:platform/:org/:repo', redirect: to => { return { path: '/viewer/', query: { platform: to.params.platform, org: to.params.org, repo: to.params.repo } } }, },) } }
The second option could be done by modifying the static JS to include something like this somewhere:
[platform, org, repo] = params.uri.split('/')
The text was updated successfully, but these errors were encountered:
https://securityscorecards.dev/viewer/?uri=github.com/ossf/scorecard
I'd be happy to take care of this one if you'd like 🙂
Sorry, something went wrong.
Thanks!
cynthia-sg
No branches or pull requests
So right now the viewer is opened with a link like this:
https://securityscorecards.dev/viewer/?platform=github.com&org=ossf&repo=scorecard
But it may nice to support something like one of these
The first option is something that would be done in our router config, but I wasn't able to get this working:
The second option could be done by modifying the static JS to include something like this somewhere:
The text was updated successfully, but these errors were encountered: