routes/static: minor refactor