Fixed href resolution in apps