//
//  KMAIServerConfig.swift
//  PDF Reader Pro
//
//  Created by wanjun on 2023/5/22.
//

import Cocoa

class KMAIServerConfig: NSObject {
    var isDebug: Bool = true
    var aiTranslationURL: String {
        get {
            #if DEBUG
            if self.isDebug {
                //测试服务器
                return "http://101.132.103.13:8030"
            } else {
                //正式服务器
                return "https://api-server.compdf.com"
             }
            #else
            //正式服务器
            return "https://api-server.compdf.com"
            #endif
        }
    }
    
    var aiRewritingURL: String {
        get {
            #if DEBUG
            if self.isDebug {
                //测试服务器
                return "http://api-us-east-1.compdf.com:8082"
            } else {
                //正式服务器
                return "https://ai.compdf.com"
            }
            #else
            //正式服务器
            return "https://ai.compdf.com"
            #endif
        }
    }
}