mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-30 11:55:12 +00:00
fix: remove extra quotes in Notion callback host argument
This commit is contained in:
parent
154af19cb7
commit
f87609f0cb
1 changed files with 3 additions and 2 deletions
|
|
@ -324,14 +324,15 @@ function registerIpcHandlers() {
|
|||
const { spawn } = await import('child_process');
|
||||
|
||||
// Add --host parameter
|
||||
const commandWithHost = `${command} --debug --host "dev.eigent.ai/api/oauth/notion/callback?code=1"`;
|
||||
const commandWithHost = `${command} --debug --host dev.eigent.ai/api/oauth/notion/callback?code=1`;
|
||||
// const commandWithHost = `${command}`;
|
||||
|
||||
log.info(' start execute command:', commandWithHost);
|
||||
|
||||
// Parse command and arguments
|
||||
const [cmd, ...args] = commandWithHost.split(' ');
|
||||
|
||||
log.info('start execute command:', commandWithHost.split(' '));
|
||||
console.log(cmd, args)
|
||||
return new Promise((resolve) => {
|
||||
const child = spawn(cmd, args, {
|
||||
cwd: process.cwd(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue