Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

del dead menu link to /repository (directory not created in current distribution -> old)

regerc702eb678683
diff --git a/htroot/Load_PHPBB3.java b/htroot/Load_PHPBB3.java
index 2674fe19c..4d9b565bf 100644
--- a/htroot/Load_PHPBB3.java
+++ b/htroot/Load_PHPBB3.java
@@ -41,7 +41,7 @@ public class Load_PHPBB3 {
String a = sb.peers.mySeed().getIP() == null ? null : sb.peers.mySeed().getPublicAddress(sb.peers.mySeed().getIP());
if (a == null) a = "localhost:" + sb.getLocalPort();
final boolean intranet = sb.getConfig(SwitchboardConstants.NETWORK_NAME, "").equals("intranet");
- final String repository = "http://" + a + "/repository/";
+ final String repository = "http://" + a + "/";
prop.put("starturl", (intranet) ? repository : "http://");
prop.put("address", a);
diff --git a/htroot/env/templates/submenuPublication.template b/htroot/env/templates/submenuPublication.template
index 31c43ed3d..41a7d5661 100644
--- a/htroot/env/templates/submenuPublication.template
+++ b/htroot/env/templates/submenuPublication.template
@@ -3,6 +3,5 @@
<ul class="SubMenu">
<li><a href="Wiki.html?display=1" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Wiki</a></li>
<li><a href="Blog.html?display=1" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Blog</a></li>
- <li><a href="repository/" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">File Hosting</a></li>
</ul>
</div>
diff --git a/source/net/yacy/peers/SeedDB.java b/source/net/yacy/peers/SeedDB.java
index 4a00c3f9e..5b836b5fb 100644
--- a/source/net/yacy/peers/SeedDB.java
+++ b/source/net/yacy/peers/SeedDB.java
@@ -927,6 +927,9 @@ public final class SeedDB implements AlternativeDomainNames {
/**
* resolve a yacy address
+ * http://PEERHASH.yacyh or http://PEERNAME.yacy
+ * or deprecated http://subdom.PEERNAME.yacy resolved to http://host:port/subdom (no matching target servlets)
+ * to the actual host:port
*/
@Override
public String resolve(String host) {