From 425867bed21880d90aefb24cb6ebd7a52899da7e Mon Sep 17 00:00:00 2001 From: nookery Date: Tue, 26 Dec 2023 17:32:51 +0800 Subject: [PATCH] Update DBConfig.swift --- TravelMode/Config/DBConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TravelMode/Config/DBConfig.swift b/TravelMode/Config/DBConfig.swift index 7ab5ef1..46e499a 100644 --- a/TravelMode/Config/DBConfig.swift +++ b/TravelMode/Config/DBConfig.swift @@ -24,7 +24,7 @@ struct DBConfig { private static func getDatabaseURL() -> URL { let fileName = dbFileName - let databaseFolder = databaseFolder + let databaseFolder = documentsURL .appendingPathComponent("production", isDirectory: true) .appendingPathComponent(fileName) let databaseFolderDebug = databaseFolder