mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Remove client for now.
This commit is contained in:
parent
9275e01c5a
commit
ec2d9a38cd
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue