the right way to async exists and refact router.static with it