修改服务器返回的内容
主要有 Map、Rewrite、Breakpoints:
△Map 功能适合长期地将某一些请求重定向到另一个网络地址或本地文件。
△Rewrite 功能适合对网络请求进行一些正则替换。
△Breakpoints 功能适合做一些临时性的修改。
Map
Map 分为 Map Remote 和 Map Local:

Map Remote 是将指定的网络请求重定向到另一个网址请求地址,Map Local 是将指定的网络请求重定向到本地文件.
Rewrite
Rewrite 功能功能适合对某一类网络请求进行一些正则替换,以达到修改结果的目的。



网友评论