mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 19:02:22 +01:00
Update index.js
This commit is contained in:
42
index.js
42
index.js
@@ -1026,14 +1026,14 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
|
|||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
})
|
})
|
||||||
if (req.headers["user-agent"].includes("Release-5.10")) {
|
if (req.headers["user-agent"].includes("Release-5.10")) {
|
||||||
activeEvents.push(
|
activeEvents.push(
|
||||||
{
|
{
|
||||||
"eventType": "EventFlag.BirthdayBattleBus",
|
"eventType": "EventFlag.BirthdayBattleBus",
|
||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seasondata.season == 6) {
|
if (seasondata.season == 6) {
|
||||||
@@ -1053,19 +1053,19 @@ express.get("/fortnite/api/calendar/v1/timeline", async (req, res) => {
|
|||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
})
|
})
|
||||||
if (req.headers["user-agent"].includes("Release-6.20") || req.headers["user-agent"].includes("Release-6.21")) {
|
if (req.headers["user-agent"].includes("Release-6.20") || req.headers["user-agent"].includes("Release-6.21")) {
|
||||||
activeEvents.push(
|
activeEvents.push(
|
||||||
{
|
{
|
||||||
"eventType": "EventFlag.LobbySeason6Halloween",
|
"eventType": "EventFlag.LobbySeason6Halloween",
|
||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"eventType": "EventFlag.HalloweenBattleBus",
|
"eventType": "EventFlag.HalloweenBattleBus",
|
||||||
"activeUntil": "9999-01-01T00:00:00.000Z",
|
"activeUntil": "9999-01-01T00:00:00.000Z",
|
||||||
"activeSince": "2020-01-01T00:00:00.000Z"
|
"activeSince": "2020-01-01T00:00:00.000Z"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seasondata.season == 7) {
|
if (seasondata.season == 7) {
|
||||||
|
|||||||
Reference in New Issue
Block a user