-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsite.js
More file actions
33 lines (30 loc) · 697 Bytes
/
Copy pathsite.js
File metadata and controls
33 lines (30 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export const MATCH_DETAIL_API_PATH = "/api/match/detail";
export const MATCH_DETAIL_SIGNATURE_CODE = 0x66;
export const SIGNATURE_BOOTSTRAP_CODES = [0x66, 0x67, 0x68, 0x69];
export const REQUEST_PARAM_ORDER = [
"matchId",
"leagueId",
"seasonId",
"sportType",
"language",
"stream",
];
export const SPORT_SLUGS = {
football: 1,
basketball: 2,
tennis: 3,
baseball: 4,
cricket: 6,
motorsport: 7,
rugby: 8,
"american-football": 9,
"aussie-rules": 10,
hockey: 11,
badminton: 12,
volleyball: 13,
fighting: 14,
cycling: 15,
handball: 16,
others: 90,
};
export const LOCALE_CODES = new Set(["en", "zh", "th", "vi", "id", "pt", "es", "tr", "ru", "ko", "ja"]);