Obtaining shortened path
Hello community ,
I am trying to obtain shortened path in my sling model using resource resolver mapping . I also have etc/map in place that shortens it to domain specific urls
Eg: path="/content/mywebsite/wknd"
I injected resource resolver and when i try resourceResolver.map(path) i get result as http://localhost:4502/wknd
However i just want the shortened path without domain, i.e, /wknd , is there a way to achieve this without string manipulation ?