From 6d469dd0fdcfcd2d50ef54da8890a5f75b68aef7 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sat, 8 Jun 2024 23:49:34 -0400 Subject: [PATCH] move storage into subdir --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 72c5fcb..622ea77 100644 --- a/app.js +++ b/app.js @@ -8,7 +8,7 @@ import Hyperdrive from 'hyperdrive'; import Corestore from 'corestore'; import { EventEmitter } from 'events'; -const storagePath = `./storage_${Date.now()}_${Math.random().toString(36).substring(2, 15)}`; +const storagePath = `./storage/storage_${Date.now()}_${Math.random().toString(36).substring(2, 15)}`; const store = new Corestore(storagePath); const drive = new Hyperdrive(store);