(in seconds) cacheMaxAge means the Cache-Control header being set to max-age=$cacheMaxAge
Custom router param. If undefined stremio's default router is used
Static directory to serve.
Factory method to Express.js app with preconfigured cache headers.
an Express.js app
Extract the custom router from the optional parameters or retrieve the default router.
Serve all contents and start server
general informations about the running server
Add the API endpoints into the express.js app.
Add the landing page (front-end of the addon website) into the express.js app.
Add the optional static content to be served by the express.js app.
Start the express.js app.
general information about the running server
Generated using TypeDoc
Module responsible to merge AddonInterface's default router with custom/extended router