Files
hyungi 16313f8f35 fix(ds-app): DSBaseURL.tailscale placeholder를 GPU canonical Tailscale IP로 정정
ds-gpu.tailnet-name.ts.net(실재하지 않는 placeholder) → http://100.110.63.63:8000/api.
contract/CONTRACT.md·CompositionTests 의 기존 값과 일치. DS 본체 = GPU 서버 유지
확정(2026-06-07)에 따른 앱 연결 타깃 정합. swift test 72 green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 14:05:56 +09:00

19 lines
643 B
Swift

import Foundation
/// Injectable base URL. Public TLS by default; Tailscale alternative = GPU canonical
/// Tailscale IP (infra_inventory.md , 2026-06-07 DS = GPU ,
/// contract/CONTRACT.md·CompositionTests ).
public enum DSBaseURL: Sendable {
case publicTLS
case tailscale
case custom(URL)
public var url: URL {
switch self {
case .publicTLS: return URL(string: "https://document.hyungi.net/api")!
case .tailscale: return URL(string: "http://100.110.63.63:8000/api")!
case .custom(let u): return u
}
}
}