bindings may be established by separating the
key:value pairs with ',' commas. (www:./www)
e.g. Service a typical frontpage
- -i./html/index.html -bjs:./js,html:./html,css:./css
+ -i ./html/index.html -b js:./js,html:./html,css:./css
e.g. Route-based http hosting
- -buser1:/home/user1/www,user2:/home/user2/www
+ -b user1:/home/user1/www,user2:/home/user2/www
-e, --electron=string Specify a route name for the local electron render
window which will be launched on execution (nil)
-d, --dedicated=string Route all incoming connections to this route (nil)
- can be used in conjunction with '-e' for single-user
e.g. Create a dedicated electron listener
- - strapp -edefault -ddefault
+ $ strapp -e default -d default
- All routes point to 'default' which is bound to
the local electron window. No other hosts may
be established, so no remote hosts may exist
long-polling and AJAX fallbacks (false)
- enables optional socket.io dependency
-(c)2017 jk software
+(c)2017 loljk