fix: listener proxy

This commit is contained in:
linyuchen committed 2024-04-27 17:04:53 +08:00
1 parent 768cef648d
commit c9b47b41e6
7 files changed
+32 -15

No files matched your search

+4
View File
@@ -5,9 +5,11 @@ import { logDebug, logError } from '@/common/utils/log';
import { ConfigBase } from '@/common/utils/ConfigBase';
export interface OB11Config {
httpHost: string;
httpPort: number;
httpPostUrls: string[];
httpSecret: string;
wsHost: string;
wsPort: number;
wsReverseUrls: string[];
enableHttp: boolean;
@@ -29,9 +31,11 @@ export interface OB11Config {
class Config extends ConfigBase<OB11Config> implements OB11Config {
httpHost: string = '';
httpPort: number = 3000;
httpPostUrls: string[] = [];
httpSecret = '';
wsHost: string = '';
wsPort = 3001;
wsReverseUrls: string[] = [];
enableHttp = false;