Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct order of parameters to app.start().

  • Loading branch information...
commit 1d8b6265d2df32fd2971e65eef1e9fe49f98cd06 1 parent 4825548
@mikl mikl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -201,7 +201,7 @@ app.use(flatiron.plugins.http, {
You can read more about these options on the [union project page](https://github.com/flatiron/union#readme).
-### Start The Server with `app.start(<host>, port, <callback(err)>)`
+### Start The Server with `app.start(port, <host>, <callback(err)>)`
This method will both call `app.init` (which will call any asynchronous initialization steps on loaded plugins) and start the http server with the given arguments. For example, the following will start your flatiron http server on port 8080:
Please sign in to comment.
Something went wrong with that request. Please try again.