mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Update fuck_emby
This commit is contained in:
@@ -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.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user