Skip to content

Commit 4e5977d

Browse files
authored
use updated url -- certificate expired on old & don't need ATS security exception because it is now https (#142)
1 parent caa5caf commit 4e5977d

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>NSAppTransportSecurity</key>
6-
<dict>
7-
<key>NSExceptionDomains</key>
8-
<dict>
9-
<key>yann.lecun.com</key>
10-
<dict>
11-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
12-
<true/>
13-
</dict>
14-
</dict>
15-
</dict>
16-
</dict>
4+
<dict/>
175
</plist>

Libraries/MNIST/Files.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct LoadInfo: Sendable {
3636
let convert: @Sendable (MLXArray) -> MLXArray
3737
}
3838

39-
let baseURL = URL(string: "http://yann.lecun.com/exdb/mnist/")!
39+
let baseURL = URL(string: "https://raw.githubusercontent.com/fgnt/mnist/master/")!
4040

4141
private let files = [
4242
FileKind(.training, .images): LoadInfo(

0 commit comments

Comments
 (0)