Instantly share code, notes, and snippets.

@dennda /-
Created Jun 13, 2018

Embed
What would you like to do?
diff --git a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
index f7468fd02..24042ace7 100644
--- a/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
+++ b/DuolingoMobile/Metadata/DuolingoMobile-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>5.2.26</string>
+ <string>5.2.30</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -54,7 +54,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>5.2.26.0</string>
+ <string>5.2.30.explanations.qa.0</string>
<key>FacebookAppID</key>
<string>234536436609303</string>
<key>FacebookDisplayName</key>
@@ -97,8 +97,7 @@
<string>MuseoSansRounded-700.otf</string>
</array>
<key>UIBackgroundModes</key>
- <array>
- </array>
+ <array/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
diff --git a/DuolingoMobile/Sources/Explanations/ExplanationRoutes.swift b/DuolingoMobile/Sources/Explanations/ExplanationRoutes.swift
index b35c721c0..c48a32078 100644
--- a/DuolingoMobile/Sources/Explanations/ExplanationRoutes.swift
+++ b/DuolingoMobile/Sources/Explanations/ExplanationRoutes.swift
@@ -8,10 +8,10 @@
import Foundation
/// The base URL for the explanations microservice.
-private let ExplanationServiceBaseURLString = "https://explanations.duolingo.com/"
-#if DEBUG
-//private let ExplanationServiceBaseURLString = "https://explanations-stage.duolingo.com/diagnostics-api/explanations/"
-#endif
+//private let ExplanationServiceBaseURLString = "https://explanations.duolingo.com/"
+//#if DEBUG
+private let ExplanationServiceBaseURLString = "https://explanations-stage.duolingo.com/"
+//#endif
/// Base explanations route.
protocol ExplanationRoute: APIRoute {}
diff --git a/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m b/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m
index e1cbf9344..aec567756 100644
--- a/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m
+++ b/DuolingoMobile/Sources/Library/Networking/DUOWebManager.m
@@ -482,6 +482,8 @@ - (void)checkForcedOfflineTimer
- (NSString *)baseAPIURLString
{
+ return @"http://next-1.duolingo.com/";
+
// Check if a custom API URL command line argument is present.
NSString *testHostURLString = DUOCommandLineCustomAPIURL();
if (!testHostURLString) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment