Jul 31 - Fix primary server (jqc) login issue
This commit is contained in:
@@ -411,7 +411,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 2;
|
||||||
DEVELOPMENT_TEAM = SB7DNYC9TY;
|
DEVELOPMENT_TEAM = SB7DNYC9TY;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
@@ -454,7 +454,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 2;
|
||||||
DEVELOPMENT_TEAM = SB7DNYC9TY;
|
DEVELOPMENT_TEAM = SB7DNYC9TY;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
|
|||||||
+24
-2
@@ -17,10 +17,32 @@
|
|||||||
<array>
|
<array>
|
||||||
<string>com.jqc.sync</string>
|
<string>com.jqc.sync</string>
|
||||||
</array>
|
</array>
|
||||||
|
<!-- App Transport Security.
|
||||||
|
|
||||||
|
Both real servers (jqc / jqc1) are HTTPS and need no exception at all.
|
||||||
|
This block exists ONLY so a developer can point ServerOption.primary at
|
||||||
|
a local http backend (http://127.0.0.1:5055) while working on the API.
|
||||||
|
|
||||||
|
It is deliberately scoped to loopback. The previous version of this key
|
||||||
|
was a blanket NSAllowsArbitraryLoads=true, which disables ATS for EVERY
|
||||||
|
host — it turns off certificate and TLS validation for the production
|
||||||
|
servers too, and App Store review requires a justification for it. Do
|
||||||
|
not reintroduce the blanket flag; add a specific domain here instead. -->
|
||||||
<key>NSAppTransportSecurity</key>
|
<key>NSAppTransportSecurity</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSExceptionDomains</key>
|
||||||
<true/>
|
<dict>
|
||||||
|
<key>127.0.0.1</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>localhost</key>
|
||||||
|
<dict>
|
||||||
|
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
<key>UIBackgroundModes</key>
|
<key>UIBackgroundModes</key>
|
||||||
<array>
|
<array>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import Foundation
|
|||||||
|
|
||||||
/// The two known JQC servers the inspector can connect to.
|
/// The two known JQC servers the inspector can connect to.
|
||||||
nonisolated enum ServerOption: String, CaseIterable, Sendable {
|
nonisolated enum ServerOption: String, CaseIterable, Sendable {
|
||||||
case primary = "http://127.0.0.1:5055"
|
case primary = "https://jqc.ltservicesinc.com"
|
||||||
case secondary = "https://jqc1.ltservicesinc.com"
|
case secondary = "https://jqc1.ltservicesinc.com"
|
||||||
|
|
||||||
var displayName: String {
|
var displayName: String {
|
||||||
|
|||||||
Reference in New Issue
Block a user