We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b5cb53 commit 2dbc975Copy full SHA for 2dbc975
main.py
@@ -105,6 +105,9 @@ async def get():
105
async def post(repo_url: str, regenerate: bool = False):
106
logging.info(f"Generating devcontainer.json for: {repo_url}")
107
108
+ # Normalize the repo_url by stripping trailing slashes
109
+ repo_url = repo_url.rstrip('/')
110
+
111
try:
112
exists, existing_record = check_url_exists(repo_url)
113
logging.info(f"URL check result: exists={exists}, existing_record={existing_record}")
0 commit comments