From ec2d9a38cd0e3328c83b2ae0f6965037a855e824 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 24 Feb 2021 16:02:49 +0530 Subject: [PATCH] Remove client for now. --- src/main/java/me/kavin/piped/consts/Constants.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/me/kavin/piped/consts/Constants.java b/src/main/java/me/kavin/piped/consts/Constants.java index 87b20fb..e36431d 100644 --- a/src/main/java/me/kavin/piped/consts/Constants.java +++ b/src/main/java/me/kavin/piped/consts/Constants.java @@ -11,7 +11,6 @@ import org.schabi.newpipe.extractor.StreamingService; import com.fasterxml.jackson.databind.ObjectMapper; import com.mongodb.client.MongoClient; -import com.mongodb.client.MongoClients; public class Constants { @@ -41,7 +40,7 @@ public class Constants { PORT = Integer.parseInt(prop.getProperty("PORT")); PROXY_PART = prop.getProperty("PROXY_PART"); - mongoClient = MongoClients.create(prop.getProperty("MONGO_URI")); + mongoClient = null/* MongoClients.create(prop.getProperty("MONGO_URI")) */; } catch (Exception e) { throw new RuntimeException(e); }