mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-03 02:42:53 +02:00
add missing origin
This commit is contained in:
2
bench.js
2
bench.js
@@ -365,7 +365,7 @@ function perform_match(){
|
||||
}
|
||||
else{
|
||||
|
||||
window.top.postMessage(JSON.stringify(res), location.protocol + "//" + location.hostname + ":" + location.port);
|
||||
window.top.postMessage(JSON.stringify(res), location.origin /*location.protocol + "//" + location.hostname + ":" + location.port*/);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user