// // Attachment.swift // Runner // // Created by LittleSheep on 2024/12/14. // import Foundation func getAttachmentUrl(for identifier: String) -> String { let serverBaseUrl = "https://api.sn.solsynth.dev" return identifier.starts(with: "http") ? identifier : "\(serverBaseUrl)/cgi/uc/attachments/\(identifier)" }