aboutsummaryrefslogtreecommitdiff
path: root/Sources/Helpers.swift
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-12-09 17:34:26 -0700
committerNavan Chauhan <navanchauhan@gmail.com>2023-12-09 17:34:26 -0700
commitcfae29a68f8ae5e2ba5feeea24e3943e87b04a22 (patch)
tree6234e8c3c62d08d7e2c5788b71b2b71f2a023c5b /Sources/Helpers.swift
parent4de1822fac59b0daf9b741bbf16b386b5c83ec5e (diff)
Fix comments not displaying on some clients
Diffstat (limited to 'Sources/Helpers.swift')
-rw-r--r--Sources/Helpers.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sources/Helpers.swift b/Sources/Helpers.swift
index 8481347..caf841b 100644
--- a/Sources/Helpers.swift
+++ b/Sources/Helpers.swift
@@ -3,7 +3,7 @@ import Foundation
let versionString = "generated and served by swift-gopher/1.0.0" // TODO: Handle automatic versioning
func buildVersionStringResponse() -> String {
- let repeatedString = "i" + String(repeating: "-", count: 80) + "\terror.host\t1\r\n"
- let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\terror.host\t1\r\n"
+ let repeatedString = "i" + String(repeating: "-", count: 80) + "\t\terror.host\t1\r\n"
+ let versionResponseString = "i" + String(repeating: " ", count: 80 - versionString.count) + versionString + "\t\terror.host\t1\r\n"
return "\(repeatedString)\(versionResponseString)"
} \ No newline at end of file