mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-01 20:41:18 +00:00
stream: encrypt cached stream data & clean up related modules
also limited CORS methods to GET and POST
This commit is contained in:
@@ -11,7 +11,6 @@ const apiVar = {
|
||||
},
|
||||
booleanOnly: ["isAudioOnly", "isNoTTWatermark", "isTTFullAudio", "isAudioMuted", "dubLang", "vimeoDash", "disableMetadata", "twitterGif"]
|
||||
}
|
||||
const forbiddenChars = ['}', '{', '(', ')', '\\', '>', '<', '^', '*', '!', '~', ';', ':', ',', '`', '[', ']', '#', '$', '"', "'", "@", '=='];
|
||||
const forbiddenCharsString = ['}', '{', '%', '>', '<', '^', ';', '`', '$', '"', "@", '='];
|
||||
|
||||
export function apiJSON(type, obj) {
|
||||
|
||||
Reference in New Issue
Block a user