Skip to content

Simple standalone middleware for rendertron using rendertron-middleware.

License

Notifications You must be signed in to change notification settings

nzambello/rendertron-middleware-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rendertron-middleware-standalone

Simple middleware for rendertron using rendertron-middleware.
Opinionatedly configured to skip static resources and every bot (including GoogleBot).

Usage

start the server

Options:
      --version                      Show version number               [boolean]
  -v, --verbose                      Run with verbose logging
                                                       [boolean] [default: true]
  -p, --port                         Port to bind on         [number] [required]
      --rendertronUrl, --rendertron  Rendertron proxy URL    [string] [required]
      --help                         Show help                         [boolean]

Example

yarn start --port 5000 --rendertronUrl https://my-rendertron-instance/render

About

Simple standalone middleware for rendertron using rendertron-middleware.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published