Parcourir la source

Fix sample code

TSUYUSATO Kitsune il y a 10 ans
Parent
commit
5858c39cbf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ Tiny http server engine written in Swift ( https://developer.apple.com/swift/ )
 ### How to start?
 ```swift
 let server = HttpServer()
-server["/hello"] = { .OK(.HTML("You asked for " + $0.url)) }
+server["/hello"] = { .OK(.Html("You asked for " + $0.url)) }
 server.start()
 ```
 ### How to share files?