From fa96637a84101ddd77b80f74837d1a6cc2148f7a Mon Sep 17 00:00:00 2001 From: luccioman Date: Tue, 28 Aug 2018 14:59:25 +0200 Subject: [PATCH] Configured local peer as default portal search widget backend Rather than relying on a peer eventually deployed on search.yacy.net --- htroot/portalsearch/yacy-portalsearch.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htroot/portalsearch/yacy-portalsearch.html b/htroot/portalsearch/yacy-portalsearch.html index ac12eb3ed..31e23bb1b 100644 --- a/htroot/portalsearch/yacy-portalsearch.html +++ b/htroot/portalsearch/yacy-portalsearch.html @@ -20,12 +20,14 @@ $(document).ready(function() { if ($("#yacylivesearch").length ) { yconf = { - url : 'http://search.yacy.net/', + url : '..', /* URL of the backend YaCy peer : + '..' is used as a default relative prefix when this widget is deployed directly on a YaCy peer. + Otherwise should be something like 'https://peerdomain:port' */ global : true, width : 500, height : 600, theme : 'start', - title : 'YaCy Search Widget: search.yacy.net', + title : 'YaCy Search Widget: local peer', load_js : false, load_css : false };