Aldo
Aldo
+1 here I think the documentation should be updated.
> For anyone coming across this and wanting to view PDF attachments in the browser, change the return statement of `app/Http/Controllers/AttachmentController.php` to this: > > ``` > $contentType = 'application/octet-stream';...
> @aldoblack I think it's intended to be a replacement of this line: > https://github.com/BookStackApp/BookStack/blob/v0.28.3/app/Http/Controllers/AttachmentController.php#L198 > > Note, Such changes to core files are not officially supported and may cause...
Any update on this?
I was pulling my hair as well. This has to do with `filesystem::directory_iterator`. It does not read files in alphabetical order, and there is no direct way to do this....
https://github.com/aldoblack/pkg-merge
How does it work tho? The update file is just binaries that are split 4GB each (I would guess).
I believe you have to cast it first. ```swift let result = r.json! as! [String: String] print(result["my_key"]) ``` I am new as well, so I'm not sure if there is...
Hmm it work on mine. XCode Version 12.5 (12E262)
I have the same problem. Did you get to fix it?