-
-
Save dennda/808a745ecc577e570d73bd1aad0234bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..4ff755886 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 = "http://6e88b5e4.ngrok.io/" //"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