mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-28 00:38:22 -05:00
modify: changed cache_key format data
This commit is contained in:
parent
86b0d3d6c9
commit
dde117e7e6
@ -144,9 +144,9 @@ async fn results(
|
||||
|
||||
// We sort the list of engine so the cache keys will match between users. The cookie's list of engines is unordered.
|
||||
cookie_engines.sort();
|
||||
cache_key = format!("{}{}", cache_key, cookie_engines.join(","));
|
||||
cache_key = format!("{cache_key}&engines={}", cookie_engines.join(","));
|
||||
} else {
|
||||
cache_key = format!("{}{}", cache_key, config_engines.join(","));
|
||||
cache_key = format!("{cache_key}&engines={}", config_engines.join(","));
|
||||
}
|
||||
|
||||
// fetch the cached results json.
|
||||
|
Loading…
Reference in New Issue
Block a user