Upload signaling server
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user