mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
20.00 Fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const Express = require("express");
|
||||
const express = Express.Router();
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const functions = require("./functions.js");
|
||||
|
||||
express.get("/clearitemsforshop", async (req, res) => {
|
||||
@@ -60,6 +61,46 @@ express.get("/launcher/api/public/distributionpoints/", async (req, res) => {
|
||||
});
|
||||
})
|
||||
|
||||
express.get("/launcher/api/public/assets/*", async (req, res) => {
|
||||
res.json({
|
||||
"appName": "FortniteContentBuilds",
|
||||
"labelName": "LawinServer",
|
||||
"buildVersion": "++Fortnite+Release-20.00-CL-19458861-Windows",
|
||||
"catalogItemId": "5cb97847cee34581afdbc445400e2f77",
|
||||
"expires": "9999-12-31T23:59:59.999Z",
|
||||
"items": {
|
||||
"MANIFEST": {
|
||||
"signature": "LawinServer",
|
||||
"distribution": "https://ol.epicgames.com/",
|
||||
"path": "Builds/Fortnite/Content/CloudDir/LawinServer.manifest",
|
||||
"hash": "55bb954f5596cadbe03693e1c06ca73368d427f3",
|
||||
"additionalDistributions": []
|
||||
},
|
||||
"CHUNKS": {
|
||||
"signature": "LawinServer",
|
||||
"distribution": "https://ol.epicgames.com/",
|
||||
"path": "Builds/Fortnite/Content/CloudDir/LawinServer.manifest",
|
||||
"additionalDistributions": []
|
||||
}
|
||||
},
|
||||
"assetId": "FortniteContentBuilds"
|
||||
});
|
||||
})
|
||||
|
||||
express.get("/Builds/Fortnite/Content/CloudDir/LawinServer.manifest", async (req, res) => {
|
||||
res.set("Content-Type", "application/octet-stream")
|
||||
|
||||
const manifest = fs.readFileSync(path.join(__dirname, "..", "responses", "CloudDir", "LawinServer.manifest"));
|
||||
|
||||
res.status(200).send(manifest).end();
|
||||
})
|
||||
|
||||
express.get("/Builds/Fortnite/Content/CloudDir/LawinServer/Full.ini", async (req, res) => {
|
||||
const ini = fs.readFileSync(path.join(__dirname, "..", "responses", "CloudDir", "Full.ini"));
|
||||
|
||||
res.status(200).send(ini).end();
|
||||
})
|
||||
|
||||
express.post("/fortnite/api/game/v2/grant_access/*", async (req, res) => {
|
||||
res.json({});
|
||||
res.status(204);
|
||||
|
||||
Reference in New Issue
Block a user