[FIX] http: when generating static routes, only wrap dispatcher only if there is any new static directory found