Skip to content

Ensure the companion suite can be browsed per card id at https://cornucopia.owasp.org/cards #2850

@sydseter

Description

@sydseter

Currently the Companion edition is only browsable by reaching the endpoint: https://cornucopia.owasp.org/edition/companion/LLM2/1.0/en

But it should also be reachable by requesting:

https://cornucopia.owasp.org/cards/LLMA
https://cornucopia.owasp.org/cards/LLM2

...etc.

To do that, these entries need to be added to https://github.com/OWASP/cornucopia/blob/master/cornucopia.owasp.org/svelte.config.js#L34

If they are not added there, they won't be pre-rendered when building the site.

Please ensure you test that it is working properly by running

npm run productionbuild
serve build

Then check locally that all the suits and cards are there.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions