mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
Signed-off-by: zero-cyc <chenlien@huawei.com> Change-Id: I5fdc083294b134365d76254431727f4214440fa9
This commit is contained in:
@@ -89,7 +89,7 @@ void AceServiceAbility::OnStart(const OHOS::AAFwk::Want &want)
|
||||
if (info != nullptr && !info->srcPath.empty()) {
|
||||
LOGI("AceServiceAbility::OnStar assetBasePathStr: %{public}s, parsedUrl: %{public}s",
|
||||
info->srcPath.c_str(), parsedUrl.c_str());
|
||||
auto assetBasePathStr = { "assets/js/default/" + info->srcPath };
|
||||
auto assetBasePathStr = { "assets/js/" + info->srcPath + "/" };
|
||||
Platform::PaContainer::AddAssetPath(abilityId_, packagePathStr, assetBasePathStr);
|
||||
} else {
|
||||
LOGI("AceServiceAbility::OnStar parsedUrl: %{public}s", parsedUrl.c_str());
|
||||
|
||||
Reference in New Issue
Block a user