diff --git a/packages/firecamp-electron/src/main.ts b/packages/firecamp-electron/src/main.ts index 82b4e004..a043dea1 100644 --- a/packages/firecamp-electron/src/main.ts +++ b/packages/firecamp-electron/src/main.ts @@ -6,7 +6,7 @@ import { nativeImage, screen, } from 'electron'; -import RestExecutor from '@firecamp/rest-executor/dist/index'; +import RestExecutor from '@firecamp/rest-executor/dist'; import * as path from 'node:path'; import { appIcon, trayIcon } from './icon'; import { AppUpdater } from './updater/updater'; diff --git a/playgrounds/firecamp-rest-executor/src/index.ts b/playgrounds/firecamp-rest-executor/src/index.ts index 532001bc..5472b2c9 100644 --- a/playgrounds/firecamp-rest-executor/src/index.ts +++ b/playgrounds/firecamp-rest-executor/src/index.ts @@ -145,9 +145,9 @@ export default class RestExecutor implements IRestExecutor { // TODO: Check sending file without serialize in desktop environment // parse body payload - console.log(body, 555); + // console.log(body, 555); if (body?.value) { - console.log(body, 7777); + // console.log(body, 7777); axiosRequest.data = await parseBody(body); } return axiosRequest; diff --git a/playgrounds/firecamp-websocket/src/components/connection-panel/ConnectionPanel.tsx b/playgrounds/firecamp-websocket/src/components/connection-panel/ConnectionPanel.tsx index 04cc57cf..5bbebb86 100644 --- a/playgrounds/firecamp-websocket/src/components/connection-panel/ConnectionPanel.tsx +++ b/playgrounds/firecamp-websocket/src/components/connection-panel/ConnectionPanel.tsx @@ -49,6 +49,11 @@ const ConnectionPanel = () => { name: 'Params', count: cPanelUi.params, }, + { + id: 'headers', + name: 'Headers', + count: cPanelUi.headers, + }, // { // id: 'config', // name: 'Config',