19 lines
821 B
TypeScript
Executable File
19 lines
821 B
TypeScript
Executable File
export class ApplicationHttpRouts {
|
|
private static readonly PROTOCOL: string = 'http';
|
|
private static readonly BACKEND_SERVER: string = '192.168.0.100';
|
|
private static readonly FRONT_PORT_NUMBER: string = '4200';
|
|
private static readonly PORT_NUMBER: string = '8083';
|
|
private static readonly SOCKET: string = `${this.PROTOCOL}://${this.BACKEND_SERVER}:${this.PORT_NUMBER}`;
|
|
|
|
//login user231120230065
|
|
|
|
static readonly LOG_IN: string = this.SOCKET + '/open/login';
|
|
static readonly PING: string = this.SOCKET + '/user/ping';
|
|
static readonly RACE_EVENTS_TODAY: string =
|
|
this.SOCKET + '/btc/get_all_races_by_today';
|
|
static readonly RACE_CARD: string =
|
|
this.SOCKET + '/btc/get_race_card';
|
|
|
|
static readonly UI_PING: string = `${this.PROTOCOL}://${this.BACKEND_SERVER}:${this.FRONT_PORT_NUMBER}`;
|
|
}
|