File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
App/ExampleModel/Sources/Model/RestfulModel
WebService/Sources/ExampleWebService Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Shared
55
66public class RestfulModel : LocalStorageModel {
77 static var baseURL : URL = {
8- guard let baseURL = URL ( string: " http://localhost:8080 /v1/ " ) else {
8+ guard let baseURL = URL ( string: " http://localhost/v1/ " ) else {
99 fatalError ( " Could not create the base URL for the Web Service " )
1010 }
1111 return baseURL
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import ArgumentParser
88
99public struct Example : WebService {
1010 @Option ( help: " The port the web service of binding to " )
11- var port : Int = 8080
11+ var port : Int = 80
1212 @Option ( help: " The path the database file should be saved in " )
1313 var databasePath : String = " ./example.sqlite "
1414 @Flag ( help: " Set to true if you want to revert the database migrations " )
You can’t perform that action at this time.
0 commit comments