restore: original UI views from first build, keep fixed models/API
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
15
ios/Platform 1.44.16 AM/Platform/Config.swift
Normal file
15
ios/Platform 1.44.16 AM/Platform/Config.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
import Foundation
|
||||
|
||||
enum Config {
|
||||
static let gatewayURL: URL = {
|
||||
if let override = UserDefaults.standard.string(forKey: "gateway_url"),
|
||||
let url = URL(string: override) {
|
||||
return url
|
||||
}
|
||||
return URL(string: "https://dash.quadjourney.com")!
|
||||
}()
|
||||
|
||||
static func apiURL(_ path: String) -> URL {
|
||||
gatewayURL.appendingPathComponent(path)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user