Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Nov 20, 2023
1 parent b096a47 commit 208634e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sitemaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
modified_urls = []
for file in modified_files:
# Convert file path to URL path, i.e. 'modes/index.html' -> 'https://docs.ultralytics.com/modes/'
full_url = f'https://{host}/{file.replace('/index.html', '/')}'
full_url = f'https://{host}/{file.replace('index.html', '')}'
if full_url in urls:
modified_urls.append(full_url)
return modified_urls
Expand Down

0 comments on commit 208634e

Please sign in to comment.