Skip to content

Commit 4e6335d

Browse files
committed
hotfix(relay): Enable useProxy
1 parent afa20e9 commit 4e6335d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/uk/openvk/android/legacy/OvkApplication.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
reportDialogClass = CrashReporterActivity.class)
5454
public class OvkApplication extends Application {
5555

56-
private static final String DEFAULT_RELAY_SERVER = "http://minvk.ru/apirelay.php";
56+
private static final String DEFAULT_RELAY_SERVER = "minvk.ru/apirelay.php";
5757

5858
public String version;
5959
public boolean isTablet;
@@ -150,6 +150,7 @@ private void createSettings(SharedPreferences global_prefs, SharedPreferences in
150150
global_prefs_editor.putString("proxy_address", DEFAULT_RELAY_SERVER);
151151
global_prefs_editor.putString("proxy_type", "selfeco-relay");
152152
global_prefs_editor.putBoolean("useHTTPS", false);
153+
global_prefs_editor.putBoolean("useProxy", true);
153154
}
154155
}
155156

0 commit comments

Comments
 (0)