diff --git a/Sources/App/CapServer.swift b/Sources/App/CapServer.swift index 7bb17ce..c44890a 100644 --- a/Sources/App/CapServer.swift +++ b/Sources/App/CapServer.swift @@ -270,7 +270,7 @@ final class CapServer: ServerOwner { df.dateFormat = "yy-MM-dd-HH-mm-ss" let dateString = df.string(from: Date()) while let entry = entries.popLast() { - let content = "\(dateString):\(entry.cap):\(entry.image)".data(using: .utf8)! + let content = "\(dateString):\(entry.cap):\(entry.image)\n".data(using: .utf8)! try handle.write(contentsOf: content) } }