mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 17:45:11 +00:00
cleaned up the project and removed all unused dependencies and code.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export const vidsrcBase = 'https://vidsrc.to'
|
||||
export const vidplayBase = 'https://vidplay.online';
|
||||
export const port = 3000;
|
||||
@@ -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,4 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
import { getKeys } from './getKeys.js';
|
||||
|
||||
const keys = await getKeys();
|
||||
|
||||
Reference in New Issue
Block a user