mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-29 05:52:35 +00:00
Accidentally broke webm embedding
This commit is contained in:
parent
d6a90c118c
commit
a06ab0aec6
|
@ -3,7 +3,7 @@ import * as ebml from "ts-ebml";
|
||||||
import type { ImageProcessor } from "./main";
|
import type { ImageProcessor } from "./main";
|
||||||
|
|
||||||
// unused, but will in case 4chan does file sig checks
|
// unused, but will in case 4chan does file sig checks
|
||||||
//const password = Buffer.from("NOA");
|
const password = Buffer.from("NOA");
|
||||||
|
|
||||||
const xor = (a: Buffer, p: Buffer) => {
|
const xor = (a: Buffer, p: Buffer) => {
|
||||||
let n = 0;
|
let n = 0;
|
||||||
|
@ -142,5 +142,6 @@ const has_embed = (webm: Buffer) => {
|
||||||
export default {
|
export default {
|
||||||
extract,
|
extract,
|
||||||
has_embed,
|
has_embed,
|
||||||
|
inject,
|
||||||
match: fn => !!fn.match(/\.webm$/)
|
match: fn => !!fn.match(/\.webm$/)
|
||||||
} as ImageProcessor;
|
} as ImageProcessor;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user