diff --git a/addon/web/client/src/App.js b/addon/web/client/src/App.js
index 825be28..7ab7d1a 100644
--- a/addon/web/client/src/App.js
+++ b/addon/web/client/src/App.js
@@ -5,7 +5,8 @@ import Button from 'react-bootstrap/Button'
import './App.css'
import { FlowManager } from './flow'
-import { isTextResponse, getSize, parseMessage, buildMessage } from './utils'
+import { isTextResponse, getSize } from './utils'
+import { parseMessage, sendMessageEnum, buildMessageEdit, buildMessageMeta } from './message'
class App extends React.Component {
@@ -20,6 +21,7 @@ class App extends React.Component {
flowTab: 'Headers', // Headers, Preview, Response
+ // TODO: change to rules
interceptUriInputing: '',
interceptUri: '',
}
@@ -40,7 +42,7 @@ class App extends React.Component {
initWs() {
if (this.ws) return
- let host;
+ let host
if (process.env.NODE_ENV === 'development') {
host = 'localhost:9081'
} else {
@@ -107,7 +109,7 @@ class App extends React.Component {
!flow.waitIntercept ? null :