In development mode, all requests to access pages go to the root path, because all written ./images and index are in the root, so it is http://localhost:8080/images/abc.jpg
The actual file address should be http://localhost:8080/static/images/abc.jpg
So it means configuring /images means intercepting this kind of request
pathRewrite means changing /images to /static/images