Update fuck_emby

This commit is contained in:
SukkaW 2021-05-10 19:37:32 +08:00
parent 2ec1e385c6
commit ffff73bbd8

View File

@ -1,9 +1,9 @@
const url = $request.url;
const newHeaders = {
"Crack": "KS",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Method": "*",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "*",
"Access-Control-Allow-Method": "*",
"Access-Control-Allow-Credentials": "true"
};
let obj = {};
@ -44,6 +44,7 @@ if (url.includes('/admin/service/registration/validateDevice')) {
const newBody = JSON.stringify(obj);
const myResponse = {
status: 200,
headers: newHeaders, // Optional.
body: newBody // Optional.
};