Files
webrtc_http_tunnel/signaling_server/config/config.ts
T
2025-07-25 16:32:37 +03:00

41 lines
722 B
TypeScript

export interface Config {
authentication: {
server: {
username: string;
password: string;
};
client: {
username: string;
password: string;
};
};
logger: {
level: string;
error_path: string;
full_path: string;
timestamp_format: string;
};
timeout: number;
}
const config: Config = {
authentication: {
server: {
username: "superuser",
password: "password",
},
client: {
username: "user",
password: "password",
},
},
logger: {
level: "info",
error_path: "./logs/error.log",
full_path: "./logs/combined.log",
timestamp_format: "HH:mm:ss DD-MM-YYYY",
},
timeout: 5000
};
export default config;