Skip to content
Open
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
2 changes: 1 addition & 1 deletion Python/http-flask/firebase.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"functions": {
"codebase": "http-flask"
"codebase": "functions"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Using a generic codebase name like "functions" can lead to naming collisions if a user attempts to deploy multiple samples from this repository to the same Firebase project. It is better to use a unique codebase name, such as "http-flask", and explicitly specify the source directory using the "source" property. This ensures that the Firebase CLI can correctly locate the functions code while maintaining a distinct identity for this sample's functions.

    "codebase": "http-flask",
    "source": "functions"

}
}