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

URL within ExternalReferences array can contain just a period if project is created by create-react-app #263

Closed
jharwood91 opened this issue Feb 24, 2022 · 0 comments · Fixed by #264
Assignees

Comments

@jharwood91
Copy link
Contributor

We initially created our project using 'create-react-app' scripts.

One of the problems we faced from the beginning was that we wanted to serve our site relative to index.html, in order to perform IIS deployment.

We did that by following this documentation provided by 'create-react-app':
https://create-react-app.dev/docs/deployment/#serving-the-same-build-from-different-paths

As such, we have { "homepage": "." } in our package.json file.

Running an SBOM generation on this results in the following:
{ "externalReferences": [ { "type": "website", "url": "http://." } ] }

Would it be possible to provide a case such that if the 'homepage' property was solely a period, that particular externalReference entry could be omitted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants