这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Angelmmiguel
Copy link
Contributor

@Angelmmiguel Angelmmiguel commented Oct 10, 2022

Fix the API paths when a file is an index.* one. This is a quick fix as we plan to refactor path management better in #3. I also added several unit tests to cover the different API path cases.

Closes #4

@Angelmmiguel Angelmmiguel added the 🐛 bug Something isn't working label Oct 10, 2022
@Angelmmiguel Angelmmiguel requested a review from assambar October 10, 2022 14:09
@Angelmmiguel Angelmmiguel self-assigned this Oct 10, 2022
Copy link
Contributor

@ereslibre ereslibre left a comment

Choose a reason for hiding this comment

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

This LGTM given it's fixing an issue with index files. Thanks @Angelmmiguel!

Just a minor comment that reduces duplication when writing unit tests.

@Angelmmiguel Angelmmiguel merged commit bf64ef6 into main Oct 17, 2022
@ereslibre ereslibre deleted the 4-fix-index-routes branch November 9, 2022 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working cla-not-required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

index files are not properly mapped to API paths

4 participants