From 29db9532e003a7147ce3ca85af390849b4efbe63 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 31 May 2013 23:16:28 +0300 Subject: [PATCH] Change default server port to 443 --- res/xml/prefs.xml | 2 +- src/ro/ieval/fonbot/Utils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2