Procházet zdrojové kódy

Merge pull request #128 from MakeNowJust/patch-2

Fix samples
Damian Kołakowski před 10 roky
rodič
revize
c0914462b5
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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
 ```