From: Marius Gavrilescu Date: Fri, 31 May 2013 20:16:28 +0000 (+0300) Subject: Change default server port to 443 X-Git-Tag: 0.000_001~37 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=29db9532e003a7147ce3ca85af390849b4efbe63;p=fonbot.git Change default server port to 443 --- diff --git a/res/xml/prefs.xml b/res/xml/prefs.xml index fb4c54a..b47e0f9 100644 --- a/res/xml/prefs.xml +++ b/res/xml/prefs.xml @@ -7,5 +7,5 @@ - + \ No newline at end of file diff --git a/src/ro/ieval/fonbot/Utils.java b/src/ro/ieval/fonbot/Utils.java index c4f3615..849848b 100644 --- a/src/ro/ieval/fonbot/Utils.java +++ b/src/ro/ieval/fonbot/Utils.java @@ -405,7 +405,7 @@ public final class Utils { */ public static URL getServerURL(final Context context, final String path) throws MalformedURLException{ final String hostname=PreferenceManager.getDefaultSharedPreferences(context).getString("hostname", "fonbot.ieval.ro"); - final int port=Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString("port", "7777")); + final int port=Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString("port", "443")); final URL url=new URL("https", hostname, port, path); return url; }