From 4e5977d4a034bba6096e79e9e20c476a358d75d7 Mon Sep 17 00:00:00 2001 From: David Koski <46639364+davidkoski@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:22:32 -0700 Subject: [PATCH] use updated url -- certificate expired on old & don't need ATS security exception because it is now https (#142) --- Applications/MNISTTrainer/MNISTTrainer-Info.plist | 14 +------------- Libraries/MNIST/Files.swift | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Applications/MNISTTrainer/MNISTTrainer-Info.plist b/Applications/MNISTTrainer/MNISTTrainer-Info.plist index 2ad835b..0c67376 100644 --- a/Applications/MNISTTrainer/MNISTTrainer-Info.plist +++ b/Applications/MNISTTrainer/MNISTTrainer-Info.plist @@ -1,17 +1,5 @@ - - NSAppTransportSecurity - - NSExceptionDomains - - yann.lecun.com - - NSExceptionAllowsInsecureHTTPLoads - - - - - + diff --git a/Libraries/MNIST/Files.swift b/Libraries/MNIST/Files.swift index a6ae063..1f09368 100644 --- a/Libraries/MNIST/Files.swift +++ b/Libraries/MNIST/Files.swift @@ -36,7 +36,7 @@ struct LoadInfo: Sendable { let convert: @Sendable (MLXArray) -> MLXArray } -let baseURL = URL(string: "http://yann.lecun.com/exdb/mnist/")! +let baseURL = URL(string: "https://raw.githubusercontent.com/fgnt/mnist/master/")! private let files = [ FileKind(.training, .images): LoadInfo(