Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions context7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"url": "https://context7.com/burgan-tech/vnext-example",
"public_key": "pk_xcxndUScZajJjJ9rVxWsI"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

Hardcoding keys, even public ones, is not recommended as a best practice. It makes key rotation difficult and couples the configuration to the codebase. It's better to load this value from an environment variable or a configuration service at runtime. This allows for different keys in different environments (dev, staging, production) without changing the code.

}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The file should end with a newline character. It's a standard convention for text files in Unix-like systems and can prevent issues with some tools that process text files.

Suggested change
}
}

4 changes: 2 additions & 2 deletions vnext.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": "1.0.0",
"description": "core Domain Definition Configuration",
"domain": "core",
"runtimeVersion": "0.0.22",
"schemaVersion": "0.0.27",
"runtimeVersion": "0.0.23",
"schemaVersion": "0.0.28",
"paths": {
"componentsRoot": "core",
"tasks": "Tasks",
Expand Down
Loading