Skip to content

Commit

Permalink
fix(src/window/win.cc): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Oct 12, 2023
1 parent fdbf0b2 commit 3d33135
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/window/win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ namespace SSC {
}
} else {
auto rootPath = this->modulePath.parent_path();
auto resolved = Router::resolveURLPathForWebView(path, rootPath);
auto resolved = IPC::Router::resolveURLPathForWebView(path, rootPath.string());
path = resolved.path;

if (path.size() == 0 && userConfig.contains("webview_default_index")) {
Expand All @@ -1025,10 +1025,10 @@ namespace SSC {
).c_str(),
&res
);

args->put_Response(res);
deferral->Complete();
});
return S_OK;
return S_OK;
}

if (path.size() > 0) {
Expand Down

0 comments on commit 3d33135

Please sign in to comment.