-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
847367c
commit 123b985
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
123b985
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @alesanchezr ,
This commit introduced an error due to the three routes having functions with the same name:
123b985
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This's the error:
File "/home/vscode/.local/share/virtualenvs/react-flask-hello-8vr8HM4e/lib/python3.10/site-packages/flask/sansio/app.py", line 657, in add_url_rule
raise AssertionError(
AssertionError: View function mapping is overwriting an existing endpoint function: serve_any_other_file