From 911a6151a302349eff151db80a756d8b52fe5e00 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sat, 9 Mar 2019 19:14:44 +0400 Subject: [PATCH] Fixed location of DB --- .idea/vcs.xml | 6 ------ src/main/java/io/github/chronosx88/dhtBootstrap/Main.java | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/main/java/io/github/chronosx88/dhtBootstrap/Main.java b/src/main/java/io/github/chronosx88/dhtBootstrap/Main.java index f8c8def..44a8878 100644 --- a/src/main/java/io/github/chronosx88/dhtBootstrap/Main.java +++ b/src/main/java/io/github/chronosx88/dhtBootstrap/Main.java @@ -47,7 +47,7 @@ public class Main { .storage( new StorageDisk( peerID, - new File(System.getProperty("user.home") + "/.local/share"), + new File(DATA_DIR_PATH), new RSASignatureFactory() ) ).start();