Skip to content

Commit

Permalink
feat: ws headers are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishchit14 committed Feb 29, 2024
1 parent 4dbfacb commit 47ed474
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/firecamp-electron/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions playgrounds/firecamp-rest-executor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const ConnectionPanel = () => {
name: 'Params',
count: cPanelUi.params,
},
{
id: 'headers',
name: 'Headers',
count: cPanelUi.headers,
},
// {
// id: 'config',
// name: 'Config',
Expand Down

0 comments on commit 47ed474

Please sign in to comment.