Files
mediaplayer/ios/OralTrainer/Config.swift
2026-08-17 20:13:28 +08:00

21 lines
878 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Foundation
enum AppConfig {
/// IP
/// / http://<IP>:<> http://192.168.1.100:80
static let serverBaseURL = "https://videoservice.d1kt.cn"
/// sentence_api/.env CLIENT_API_KEY
static let assessmentAPIKey = "fcf60fa10bc1c49e5ddb93d570bc54df5648e187b64096962498d57661c14220"
/// HTTPS TLS HTTP/
static let allowHTTPFallback = true
static let userAgent = "OralTrainerKit/0.1.0 (iOS)"
static let connectTimeout: TimeInterval = 15
static let readTimeout: TimeInterval = 30
static let assessmentTimeout: TimeInterval = 180
static let sha256Pattern = #"^[0-9a-fA-F]{64}$"#
}