fix(core.gbapp): Azure deployment.
This commit is contained in:
parent
49e174395c
commit
f1b8eb2fad
2 changed files with 3 additions and 2 deletions
|
@ -43,10 +43,10 @@ import { GBLog } from 'botlib';
|
|||
*/
|
||||
export class GBConfigService {
|
||||
public static getServerPort(): number {
|
||||
if (process.env.PORT !== null) {
|
||||
if (process.env.PORT) {
|
||||
return Number(process.env.PORT);
|
||||
}
|
||||
if (process.env.port !== null) {
|
||||
if (process.env.port) {
|
||||
return Number(process.env.port);
|
||||
}
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ export class GBDeployer {
|
|||
|
||||
return new Promise(
|
||||
(resolve: any, reject: any): any => {
|
||||
GBLog.info(`PWD ${process.env.PWD}...`);
|
||||
let totalPackages = 0;
|
||||
const additionalPath = GBConfigService.get('ADDITIONAL_DEPLOY_PATH');
|
||||
let paths = [GBDeployer.deployFolder];
|
||||
|
|
Loading…
Add table
Reference in a new issue