Fix login
This commit is contained in:
@@ -10,8 +10,8 @@ enum ApiModule: Sendable {
|
||||
|
||||
enum ApiConfig {
|
||||
static var baseURL: URL {
|
||||
let raw = ProcessInfo.processInfo.environment["ATOMENTA_API_URL"] ?? "http://127.0.0.1:3001"
|
||||
return URL(string: raw) ?? URL(string: "http://127.0.0.1:3001")!
|
||||
let raw = ProcessInfo.processInfo.environment["ATOMENTA_API_URL"] ?? "https://atomenta.com.br"
|
||||
return URL(string: raw) ?? URL(string: "https://atomenta.com.br")!
|
||||
}
|
||||
|
||||
// Tokens provided by backend modules
|
||||
|
||||
Reference in New Issue
Block a user