-updated the static content serving check