From 3444d947accd3d81ac0f67d245f36728214c41ec Mon Sep 17 00:00:00 2001 From: luccioman Date: Fri, 4 Nov 2016 09:35:03 +0100 Subject: [PATCH] Used relative URLs in ConfigPortal preview frames. This is more reliable when YaCy is behind a reverse proxy. Also updated integration examples to keep the current protocol part (http or https) in the example address. --- htroot/ConfigPortal.html | 12 ++++++------ htroot/ConfigPortal.java | 9 +-------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/htroot/ConfigPortal.html b/htroot/ConfigPortal.html index 3f212fbf3..0938a4767 100644 --- a/htroot/ConfigPortal.html +++ b/htroot/ConfigPortal.html @@ -139,7 +139,7 @@
       <iframe name="target"
-       src="http://#[myaddress]#/index.html?display=2&resource=local"
+       src="#[myContext]#/index.html?display=2&resource=local"
        width="100%"
        height="410"
        frameborder="0"
@@ -149,7 +149,7 @@
     
This would look like: