New feature/improvement: portalalias redirection will be ignored when running in localhost. This to make it easier to us a localhost debug alias