mirror of
https://github.com/ibratabian17/OpenParty.git
synced 2026-01-15 14:22:54 -03:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -344,7 +344,6 @@ module.exports = {
|
|||||||
res.send(responseProfiles);
|
res.send(responseProfiles);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
app.post("/profile/v2/map-ended", async (req, res) => {
|
app.post("/profile/v2/map-ended", async (req, res) => {
|
||||||
const ticket = req.header("Authorization");
|
const ticket = req.header("Authorization");
|
||||||
const SkuId = req.header("X-SkuId") || "jd2019";
|
const SkuId = req.header("X-SkuId") || "jd2019";
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ const generateFalseTicket = () => {
|
|||||||
return start + middle + end;
|
return start + middle + end;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const atob = (base64) => Buffer.from(base64, 'base64').toString('utf-8');
|
const atob = (base64) => Buffer.from(base64, 'base64').toString('utf-8');
|
||||||
const parseCustomAuthHeader = (authorization) => {
|
const parseCustomAuthHeader = (authorization) => {
|
||||||
const [method, encoded] = authorization.split(" ");
|
const [method, encoded] = authorization.split(" ");
|
||||||
|
|||||||
Reference in New Issue
Block a user