From 5190c4885c4ed0d547a7c08f3b5c1984682029a7 Mon Sep 17 00:00:00 2001 From: Suhair Zain Date: Sun, 11 Sep 2016 04:14:51 +0530 Subject: [PATCH 1/3] Changed port from 8000 to 8080 --- getting-started/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/manual.md b/getting-started/manual.md index 1db074f1..1d1cead1 100644 --- a/getting-started/manual.md +++ b/getting-started/manual.md @@ -94,4 +94,4 @@ swift build ## View -Go to your favorite browser and visit `http://localhost:8000/hello` +Go to your favorite browser and visit `http://localhost:8080/hello` From 2fa9e69a0ed991d5dcfbbb441696533d4957dec8 Mon Sep 17 00:00:00 2001 From: Suhair Zain Date: Sun, 11 Sep 2016 04:15:54 +0530 Subject: [PATCH 2/3] Removed try Fix for warning: no calls to throwing functions occur within 'try' expression try drop.serve() --- getting-started/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/manual.md b/getting-started/manual.md index 1d1cead1..28dc46e7 100644 --- a/getting-started/manual.md +++ b/getting-started/manual.md @@ -78,7 +78,7 @@ drop.get("/hello") { _ in return "Hello Vapor" } -try drop.serve() +drop.serve() ``` ## Build and Run From 90967092be365a56b1b577b61a8fd2fe7f576f28 Mon Sep 17 00:00:00 2001 From: Suhair Zain Date: Sun, 11 Sep 2016 04:21:42 +0530 Subject: [PATCH 3/3] Updated minor version in Package.swift example --- getting-started/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/manual.md b/getting-started/manual.md index 28dc46e7..06d7b887 100644 --- a/getting-started/manual.md +++ b/getting-started/manual.md @@ -58,7 +58,7 @@ import PackageDescription let package = Package( name: "HelloVapor", dependencies: [ - .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 0, minor: 16) + .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 0, minor: 18) ] ) ```