Fix portal dev endpoint