diff --git a/AutoCat/Controllers/RecordsController.swift b/AutoCat/Controllers/RecordsController.swift index d8c97f3..a8c9fe2 100644 --- a/AutoCat/Controllers/RecordsController.swift +++ b/AutoCat/Controllers/RecordsController.swift @@ -168,6 +168,7 @@ class RecordsController: UIViewController, UITableViewDelegate { .uppercased() .replacingOccurrences(of: "Ф", with: "В") .replacingOccurrences(of: "НОЛЬ", with: "0") + .replacingOccurrences(of: "Э", with: "") var result = "" if let range = trimmed.range(of: #"\S\d\d\d\S\S\d\d\d?"#, options: .regularExpression) { diff --git a/AutoCat/Utils/Constants.swift b/AutoCat/Utils/Constants.swift index 34e7169..fd8bd02 100644 --- a/AutoCat/Utils/Constants.swift +++ b/AutoCat/Utils/Constants.swift @@ -3,9 +3,9 @@ import Foundation enum Constants { static var baseUrl: String { #if DEBUG - return "http://127.0.0.1:3000/" + //return "http://127.0.0.1:3000/" //return "http://192.168.1.67:3000/" - //return "https://vps.aliencat.pro:8443/" + return "https://vps.aliencat.pro:8443/" #else return "https://vps.aliencat.pro:8443/" #endif diff --git a/AutoCat/Utils/Recorder.swift b/AutoCat/Utils/Recorder.swift index 76390a9..a58b7ad 100644 --- a/AutoCat/Utils/Recorder.swift +++ b/AutoCat/Utils/Recorder.swift @@ -26,6 +26,7 @@ class Recorder { ] init() { + self.request.contextualStrings = ["61", "161", "761", "123", "750", "777", "799"] } func microphoneAvailable() -> Bool {