From eedd6e7da5b619a94bee5f3608b44af1e596bdfd Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 6 Dec 2022 07:22:03 -0500 Subject: [PATCH] *Remove pocket config check --- src/modules/rpc.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/rpc.ts b/src/modules/rpc.ts index f4889b7..389ab6f 100644 --- a/src/modules/rpc.ts +++ b/src/modules/rpc.ts @@ -10,10 +10,6 @@ import { get as getSwarm, SecretStream } from "./swarm.js"; import b4a from "b4a"; export async function start() { - if (!config.str("pocket-app-id") || !config.str("pocket-app-key")) { - errorExit("Please set pocket-app-id and pocket-app-key config options."); - } - getSwarm().on("connection", (stream: SecretStream) => getRpcServer().setup(stream) );