Skip to content

Commit

Permalink
throw error on showbox as the source is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
BeamlakAschalew committed Mar 31, 2024
1 parent 3a77d55 commit 01ade21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ export async function fetchDash(
let subSources: SubData[] = [];

try {
if (provider === "showbox" || provider === "superstream") {
throw new NotFoundError();
}
const outputEmbed = await providers(
proxied,
reply,
Expand Down

0 comments on commit 01ade21

Please sign in to comment.