update regex for static serving