Use routes instead for regex and sweet api