Skip to content

Broken shareFilesFromDirectory() ? #386

@kimaldis

Description

@kimaldis

I was having trouble serving files from a location using shareFilesFromDirectory and tracked it down to a couple of lines in Socket+File.swift. This may be completely the wrong solution and it seems odd that no-one's picked up on it but it's working for me now so if it helps anyone ...

line 10:
#if os(iOS) || os(tvOS) || os (Linux) || os (macOS) // ka added macOS

and line 44:
#if os(iOS) || os(tvOS) || os (Linux) || os (macOS) // KA: Added macOS

Metadata

Metadata

Assignees

Labels

bugneed-investigationDefines an issue that needs to be verified

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions