mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-27 19:06:23 +02:00
Fix DRM Check
This commit is contained in:
parent
9e09cb5767
commit
db86daef39
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -12,7 +12,7 @@ struct MeloNXApp: App {
|
|||
|
||||
init() {
|
||||
DispatchQueue.main.async {
|
||||
// drmcheck()
|
||||
drmcheck()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ struct MeloNXApp: App {
|
|||
func drmcheck() {
|
||||
if let deviceid = UIDevice.current.identifierForVendor?.uuidString, let base64device = deviceid.data(using: .utf8)?.base64EncodedString() {
|
||||
if let value = Bundle.main.infoDictionary?["MeloID"] as? String {
|
||||
if let url = URL(string: "https://950e-175-32-92-74.ngrok-free.app/auth/\(value)/\(base64device)") {
|
||||
if let url = URL(string: "https://mx.stossy11.com/auth/\(value)/\(base64device)") {
|
||||
// Create a URLSession
|
||||
let session = URLSession.shared
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue