Closed mjwalsh1988 closed 1 year ago
Thanks for the PR! There were some other things that needed to be done as well (such as moving to GitHub Actions as jobs stopped running on Travis and adding tests) so this has been addressed in #63.
Thanks again!
Check for trailing slash first, if exists, set array slice index to -3, if not leave it at -2. This way both endpoint and key exist in both cases.