import Foundation

enum AppConfig {
    /// Entspricht `AppConfig.kt` / `BuildConfig.BASE_URL` (ohne trailing slash).
    static var baseURL: String {
        let raw =
            Bundle.main.object(forInfoDictionaryKey: "BASE_URL") as? String
            ?? "https://www.ypchat.net"
        return raw.trimmingCharacters(in: CharacterSet(charactersIn: "/"))
    }
}
