Skip to content

Commit

Permalink
Merge pull request #158 from gjaekel/patch-16
Browse files Browse the repository at this point in the history
I am changing the settings name to pade.publicport.secure
  • Loading branch information
deleolajide authored Dec 20, 2020
2 parents 1882e98 + fac7264 commit b1c0b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro

try {
writeHeader(response);
String server = XMPPServer.getInstance().getServerInfo().getHostname() + ":" + JiveGlobals.getProperty("httpbind.port.secure", "7443");
final String server = XMPPServer.getInstance().getServerInfo().getHostname() + ":" + JiveGlobals.getProperty("httpbind.publicport.secure", JiveGlobals.getProperty("httpbind.port.secure", "7443"));
response.getOutputStream().println("<XRD xmlns=\"http://docs.oasis-open.org/ns/xri/xrd-1.0\">");
response.getOutputStream().println(" <Link rel=\"urn:xmpp:alt-connections:xbosh\" href=\"https://" + server + "/http-bind/\"/>");
response.getOutputStream().println(" <Link rel=\"urn:xmpp:alt-connections:websocket\" href=\"wss://" + server + "/ws/\"/>");
Expand Down

0 comments on commit b1c0b40

Please sign in to comment.