mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-04 20:02:26 +00:00
Add tracker health badges for magnets
This commit is contained in:
1 parent
0ad6d53ebb
commit
ddd8a393f4
10 files changed
+724
-2
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { Buffer } from "https://esm.sh/[email protected]?bundle";
|
||||
|
||||
const globalScope = typeof globalThis !== "undefined" ? globalThis : window;
|
||||
|
||||
if (globalScope && !globalScope.Buffer) {
|
||||
globalScope.Buffer = Buffer;
|
||||
}
|
||||
|
||||
if (globalScope && !globalScope.global) {
|
||||
globalScope.global = globalScope;
|
||||
}
|
||||
|
||||
if (globalScope && !globalScope.process) {
|
||||
globalScope.process = { env: {} };
|
||||
}
|
||||
|
||||
export { Buffer };
|
||||
Reference in new issue
Block a user