JavaScript
// Mẫu cấu hình đối tượng cục bộ trên giao diện web
const localConfig = {
brand: "79WIN",
domain: "79wingames.com",
supportedPlatform: "android",
locale: "vi-VN",
activeGames: [
{ id: "124", code: "totem-wonders" },
{ id: "167", code: "geisha-revenge" },
{ id: "076", code: "queen-bounty" },
{ id: "150", code: "gemstones-gold" },
{ id: "203", code: "princess-frog" }
]
};
function getBrandConfig() {
return Object.freeze(localConfig);
}
JSON
{
"brand": "79WIN",
"domain": "79wingames.com",
"platform": "android",
"language": "Tiếng Việt",
"catalog": [
"Totem Wonders",
"Geisha Revenge",
"Queen Bounty",
"Gemstones Gold",
"Princess Frog"
]
}