Browse files

Correct order of parameters to app.start().

  • Loading branch information...
1 parent 4825548 commit 1d8b6265d2df32fd2971e65eef1e9fe49f98cd06 @mikl mikl committed Oct 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -201,7 +201,7 @@ app.use(flatiron.plugins.http, {
You can read more about these options on the [union project page](
-### 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:

0 comments on commit 1d8b626

Please sign in to comment.