cleaned up the project and removed all unused dependencies and code.

This commit is contained in:
Inside4ndroid
2024-07-22 08:36:08 +01:00
parent eec1879668
commit b0874bac99
6 changed files with 4 additions and 733 deletions
-3
View File
@@ -1,3 +0,0 @@
export const vidsrcBase = 'https://vidsrc.to'
export const vidplayBase = 'https://vidplay.online';
export const port = 3000;
-3
View File
@@ -1,5 +1,3 @@
import fetch from "node-fetch";
export const getKeys = async () => {
const url = "https://raw.githubusercontent.com/Ciarands/vidsrc-keys/main/keys.json";
@@ -14,7 +12,6 @@ export const getKeys = async () => {
if (keys && keys.encrypt && keys.decrypt) {
const allKeys = [...keys.encrypt, ...keys.decrypt];
console.log("All keys:", allKeys);
return allKeys;
} else {
console.error("Keys object is empty or malformed");
-1
View File
@@ -1,4 +1,3 @@
import fetch from 'node-fetch';
import { getKeys } from './getKeys.js';
const keys = await getKeys();