Skip to content

Commit

Permalink
fixed typo: libraray -> library (#11435)
Browse files Browse the repository at this point in the history
Co-authored-by: Michelle Lucero <31500626+mlucero4607@users.noreply.github.com>
  • Loading branch information
MichelleLucero and MichelleLucero authored Mar 28, 2020
1 parent 8fdc13a commit 2b818a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom-server-actionhero/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module.exports = class CreateChatRoom extends Action {

3. Tell ActionHero to use the api rather than the file server as the top-level route in `api.config.servers.web.rootEndpointType = 'api'`. This will allows "/" to listen to API requests. Also update `api.config.general.paths.public = [ path.join(__dirname, '/../static') ]`. In this configuration, the next 'static' renderer will take priority over the ActionHero 'public file' api. Note that any static assets (CSS, fonts, etc) will need to be in "./static" rather than "./public".

Note that this is where the websocket server, if you enable it, will place the `ActionheroWebsocketClient` libraray.<br>
Note that this is where the websocket server, if you enable it, will place the `ActionheroWebsocketClient` library.<br>

4. Configure a wild-card route at the lowest priority of your GET handler to catch all web requests that aren't caught by other actions:

Expand Down

0 comments on commit 2b818a1

Please sign in to comment.