fix: fix https config
This commit is contained in:
@@ -140,4 +140,11 @@ export class AssistantInit extends AssistantConfig {
|
||||
},
|
||||
} as AssistantConfigData;
|
||||
}
|
||||
getHttps() {
|
||||
const https = this.getConfig()?.https || {};
|
||||
return {
|
||||
https,
|
||||
protocol: https?.type === 'http' ? 'http' : 'https',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user