Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
formatApiPath / formatAssetPath - Implement smart functionality to de…
…tect double subpath (#2777) Today we have two functions that wrap our paths with the subpath. Since all of our customers are hosted on a subpath, such as /eubb1001, we need to account for this path when building API paths and asset paths. These functions could be smarter, we could, for example detect if we have already added the base path and ignore it if it already exists. **This PR implements this and adds 2 capabilities:** 1. If there is list of paths that need to be joined and one is subset of another, it is removed. 2. All duplicate paths in the list are removed
- Loading branch information