[+] Deploy server

This commit is contained in:
Hykilpikonna
2021-01-22 22:10:08 -05:00
parent 7435c04348
commit f8cac67055
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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