Skip to content

Commit

Permalink
Fixing how the subsitution is done
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro committed Nov 6, 2023
1 parent 9e7697d commit 903fbd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WebKitBrowser/WebKitImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2890,7 +2890,8 @@ static GSourceFuncs _handlerIntervention =

gchar* indexedDBPath = nullptr;
if (_config.IndexedDBPath.IsSet() && !_config.IndexedDBPath.Value().empty()) {
indexedDBPath = g_build_filename(_service->Substitute(_config.IndexedDBPath.Value()), "wpe", "databases", "indexeddb", nullptr);
_config.IndexedDBPath = _service->Substitute(_config.IndexedDBPath.Value());
indexedDBPath = g_build_filename(_config.IndexedDBPath.Value().c_str(), "wpe", "databases", "indexeddb", nullptr);
} else {
indexedDBPath = g_build_filename(g_get_user_cache_dir(), "wpe", "databases", "indexeddb", nullptr);
}
Expand Down

0 comments on commit 903fbd4

Please sign in to comment.