🚀 Launch 3.0.0+97 w/ NSE
This commit is contained in:
14
ios/Runner/Services/CloudFile.swift
Normal file
14
ios/Runner/Services/CloudFile.swift
Normal file
@ -0,0 +1,14 @@
|
||||
//
|
||||
// CloudFile.swift
|
||||
// Runner
|
||||
//
|
||||
// Created by LittleSheep on 2025/5/31.
|
||||
//
|
||||
|
||||
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)"
|
||||
}
|
Reference in New Issue
Block a user