Ver código fonte

Merge pull request #128 from MakeNowJust/patch-2

Fix samples
Damian Kołakowski 10 anos atrás
pai
commit
c0914462b5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -14,7 +14,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?
@@ -40,5 +40,5 @@ pod 'Swifter', '~> 1.1.3'
 ### Carthage? Also yes.
 
 ```
-github "glock45/swifter" == 1.1.3
+github "httpswift/swifter" == 1.1.3
 ```