mirror of
https://github.com/openharmony/distributeddatamgr_file.git
synced 2026-07-01 22:04:06 -04:00
@@ -123,9 +123,9 @@ bool CheckUri(napi_env env, string &path)
|
||||
return false;
|
||||
}
|
||||
if (uriSplit[spilteTwo] == "app") {
|
||||
path = ability->GetDataDir();
|
||||
path = "/data/storage/el2/base/haps/entry/files";
|
||||
} else if (uriSplit[spilteTwo] == "cache") {
|
||||
path = ability->GetCacheDir();
|
||||
path = "/data/storage/el2/base/haps/entry/cache";
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user