del dead menu link to /repository

(directory not created in current distribution -> old)
pull/97/head
reger 8 years ago
parent baa5d9b9e3
commit c702eb6786

@ -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);

@ -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>

@ -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) {

Loading…
Cancel
Save