mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Use seasondata instead of req headers
This commit is contained in:
2
index.js
2
index.js
@@ -5598,7 +5598,7 @@ function getContentPages(req) {
|
||||
contentpages.dynamicbackgrounds.backgrounds.backgrounds[1].stage = "Winter19";
|
||||
}
|
||||
|
||||
if (req.headers["user-agent"].includes("Release-19.01")) {
|
||||
if (seasondata.build == 19.01) {
|
||||
contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].stage = "winter2021";
|
||||
contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp19-lobby-xmas-2048x1024-f85d2684b4af.png";
|
||||
contentpages.specialoffervideo.bSpecialOfferEnabled = "true";
|
||||
|
||||
Reference in New Issue
Block a user