fix(workflows): clean up node.yaml by removing unnecessary whitespace
All checks were successful
GBCI / build (push) Successful in 6m4s
All checks were successful
GBCI / build (push) Successful in 6m4s
This commit is contained in:
parent
49203c3abb
commit
8584e43cc7
2 changed files with 10 additions and 3 deletions
|
@ -43,7 +43,9 @@ jobs:
|
|||
rm -rf packages/default.gbui/node_modules
|
||||
|
||||
- name: Kill previous Node.js process (if running)
|
||||
run: pkill -f "node dist/src/app.js" || true # Ignore if process doesn't exist
|
||||
run: |
|
||||
pkill -f "node dist/src/app.js" || true # Ignore if process doesn't exist
|
||||
|
||||
- name: Start Node.js in background (and persist after workflow)
|
||||
run: nohup node dist/src/app.js > /dev/null 2>&1 &
|
||||
run: |
|
||||
nohup npm run start > /dev/null 2>&1 &
|
|
@ -803,8 +803,13 @@ export class GBMinService {
|
|||
: GBConfigService.get('MARKETPLACE_SECRET')
|
||||
};
|
||||
if (GBConfigService.get('GB_MODE') !== 'legacy') {
|
||||
|
||||
const url =
|
||||
process.env.BOT_URL ||
|
||||
`http://localhost:${GBConfigService.get('PORT')}`;
|
||||
|
||||
startRouter(GBServer.globals.server, instance.botId);
|
||||
config['clientOptions'] = { baseUri: `http://localhost:${GBConfigService.get('PORT')}` };
|
||||
config['clientOptions'] = { baseUri: url };
|
||||
}
|
||||
|
||||
const adapter = new BotFrameworkAdapter(config);
|
||||
|
|
Loading…
Add table
Reference in a new issue