remove check for unused virtual path /currentyacypeer/

-  del jqueryheader.template (not used)
pull/1/head
reger 11 years ago
parent c53c52e210
commit c297de5145

@ -1,11 +0,0 @@
<!-- jQuery header /env/jqueryheader.template -->
<link media="screen" type="text/css" href="/currentyacypeer/jquery/themes/start/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<link media="screen" type="text/css" href="/currentyacypeer/jquery/css/jquery-ui-combobox.css" rel="stylesheet" />
<link media="screen" type="text/css" href="/currentyacypeer/jquery/css/jquery.tagsinput.css" rel="stylesheet" />
<script src="/currentyacypeer/jquery/js/jquery-1.7.min.js" type="text/javascript"></script>
<script src="/currentyacypeer/jquery/js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
<script src="/currentyacypeer/jquery/js/jquery-ui-combobox.js" type="text/javascript"></script>
<script src="/currentyacypeer/jquery/js/jquery.tagsinput.min.js" type="text/javascript"></script>
<script src="/currentyacypeer/jquery/js/jquery.rdfquery.core-1.0.js" type="text/javascript"></script>
<!-- END jQuery header -->

@ -247,7 +247,6 @@ public class YaCyDefaultServlet extends HttpServlet {
}
}
if (pathInfo.startsWith("/currentyacypeer/")) pathInfo = pathInfo.substring(16);
String pathInContext = URIUtil.addPaths(servletPath, pathInfo);
boolean endsWithSlash = (pathInfo == null ? request.getServletPath() : pathInfo).endsWith(URIUtil.SLASH);

@ -430,13 +430,6 @@ public final class HTTPDProxyHandler {
host = host.substring(0, pos);
}
// point virtual directory to my peer
if (path.startsWith("/currentyacypeer/")) {
host = sb.peers.myIP();
port = sb.peers.myPort();
path = path.substring(16);
}
// resolve yacy and yacyh domains
String yAddress = resolveYacyDomains(host);

Loading…
Cancel
Save