[+] Deploy server
This commit is contained in:
@@ -87,6 +87,7 @@ class LoginVC: UIViewController
|
||||
let errors = ["409 - [\"A0111\"]": "Account already exists, please login instead.",
|
||||
"401 -": "Incorrect username/password",
|
||||
"404 -": "Username does not exist in the database",
|
||||
"406 - [\"A0101\"]": "Username invalid."
|
||||
]
|
||||
|
||||
// Send register request
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
import Foundation
|
||||
|
||||
/// Base URL of the HTTP server
|
||||
let baseUrl = "http://localhost:8080" // TODO: Production settings
|
||||
let baseUrl = "https://alarm-clock-api.hydev.org"
|
||||
|
||||
/// Json class
|
||||
class JSON
|
||||
|
||||
Reference in New Issue
Block a user