diff --git a/public/background.js b/public/background.js index d20c41a..93dce4b 100644 --- a/public/background.js +++ b/public/background.js @@ -44,6 +44,7 @@ console.info("Chrome Extenstion Background is loaded") let proxyHost = ""; chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) { + console.log(msg); if (msg.action === "connect") { console.info("Start to connect websocket") const host = msg['host'] || "127.0.0.1" diff --git a/src/App.tsx b/src/App.tsx index fc74cd9..3d8761d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,9 @@ import React from "react"; import "./App.css"; import { ConfigProvider } from "antd"; -// import { Contro } from "@components/Contro"; +import { Contro } from "@components/Contro"; import { Proxifier } from "@components/Proxifier"; -// import { Controller } from "./components/Controller"; +import { Controller } from "./components/Controller"; function App() { return ( @@ -15,9 +15,9 @@ function App() { }} >