aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/flow
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/flow')
-rw-r--r--web/src/js/flow/utils.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/web/src/js/flow/utils.js b/web/src/js/flow/utils.js
index cb37822a..9915a639 100644
--- a/web/src/js/flow/utils.js
+++ b/web/src/js/flow/utils.js
@@ -49,14 +49,7 @@ export var MessageUtils = {
} else if (message === flow.response) {
message = "response";
}
- if (global.MITMWEB_STATIC) {
- let url = view ?
- `/flows/${flow.id}/${message}/content/${view}.json` :
- `/flows/${flow.id}/${message}/content.json`
- return url;
- } else {
- return `/flows/${flow.id}/${message}/content` + (view ? `/${view}` : '');
- }
+ return `/flows/${flow.id}/${message}/` + (view ? `content/${view}.json` : '_content');
}
};