aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/flow
diff options
context:
space:
mode:
authorClemens <cle1000.cb@gmail.com>2016-07-28 17:10:06 +0200
committerClemens <cle1000.cb@gmail.com>2016-07-28 17:10:06 +0200
commitad5bebeda0f1da890d8ed94b6096515e03f44a25 (patch)
treecd5640aa7c77d59f8be9fe6abe31ffdf66435a5e /web/src/js/flow
parent3e6c284757ffbb42aef34281567cf1adedd21ae9 (diff)
downloadmitmproxy-ad5bebeda0f1da890d8ed94b6096515e03f44a25.tar.gz
mitmproxy-ad5bebeda0f1da890d8ed94b6096515e03f44a25.tar.bz2
mitmproxy-ad5bebeda0f1da890d8ed94b6096515e03f44a25.zip
mitmproxy.contentviews added
Diffstat (limited to 'web/src/js/flow')
-rw-r--r--web/src/js/flow/utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/flow/utils.js b/web/src/js/flow/utils.js
index 0232e753..b8435aa0 100644
--- a/web/src/js/flow/utils.js
+++ b/web/src/js/flow/utils.js
@@ -49,8 +49,8 @@ export var MessageUtils = {
} else if (message === flow.response) {
message = "response";
}
- return "/flows/" + flow.id + "/" + message + "/content" + (view ? "?content_view="+view : "");
- },
+ return `/flows/${flow.id}/${message}/content` + (view ? `?cv=${view}` : '');
+ }
};
export var RequestUtils = _.extend(MessageUtils, {