diff --git a/source/jaindb/Startup.cs b/source/jaindb/Startup.cs
index 6b4658b..8eb5fe9 100644
--- a/source/jaindb/Startup.cs
+++ b/source/jaindb/Startup.cs
@@ -243,10 +243,13 @@ private void OnStartup()
jDB.CosmosDB = new DocumentClient(new Uri(jDB.endpointUrl), jDB.authorizationKey);
jDB.CosmosDB.OpenAsync();
-
jDB.UseCosmosDB = true;
}
- catch { }
+ catch
+ {
+ jDB.UseCosmosDB = false;
+ jDB.UseFileStore = true;
+ }
}
if ((int.Parse(Configuration.GetSection("UseFileSystem").Value ?? Configuration.GetSection("jaindb:UseFileSystem").Value) == 1) || (Environment.GetEnvironmentVariable("UseFileSystem") == "1"))
diff --git a/source/jaindb/jaindb.csproj b/source/jaindb/jaindb.csproj
index 8851024..2b6696b 100644
--- a/source/jaindb/jaindb.csproj
+++ b/source/jaindb/jaindb.csproj
@@ -13,8 +13,8 @@
https://github.com/rzander/jaindb
blockchain json
0.9.0
- 0.9.0.56
- 0.9.0.56
+ 0.9.0.57
+ 0.9.0.57
jaindb.Program
fcfd6c0a-e53c-46cb-8a9d-b786c0579861
@@ -67,7 +67,7 @@
-
+