Kim Aldis

Results 35 comments of Kim Aldis

FWIW, I get the same. with the added information that both csrf & sessionID are undefined. Any thoughts? I'm also a little green in this area.

I've dropped a stripped down version of the project into my dropbox [here](https://www.dropbox.com/s/8zywvkpyxboiy9g/EarwigServer.zip?dl=0) . sorry about any junk left in there. built out of the box it fails when you...

macOS Mojave, 10.14.4, Xcode Version 10.2 (10E125), by the way

Anyone have thoughts on this? Am I missing something obvious?

File permissions checked right through the tree, set to 0777 while testing. I'm struggling to find a response code anywhere. I did find that. the closure, ```return { r in...

> I did find that. the closure, `return { r in ... ` in `shareFilesFromDirectory()` isn't getting called at all. Currently trying to figure out why that may be. My...

writer.write( file ) on line 41 throws an error; ```"sendfile: Operation not permitted"```. test.html is in '/Users/kimaldis/Library/Containers/com.kim-aldis.EarwigServer/Data/htdocs'. The file has 0777 permissions as does the tree leading up to it....

sendfile() is returning -1 in Socket, line 45 of Socket+File.swift. As I said, I have Incoming & Outgoing connections enabled in the App Sandbox and all file permissions are good....

I think I've found it. sendfile() at line 45 of Socket+File.swift fails but using sendfileImpl() instead seems to work. I changed two lines in Socket+File.swift: Line 10 ```#if os(iOS) ||...

```server["/desktop/:path] = NSHomeDirectory() + "/html"``` will serve files from ```~/Library/Containers/BundleIdentifier/Data/html``` where BundleIdentifier is your project's bundle identifier. NSHomeDIrectory because app sandboxing. then ```http://localhost/desktop/index.html``` will get you to index.html in your...