Classes
Methods
(static) FaviconHandler.create(path, maxAgeSeconds) → {FaviconHandler}
Create a handler attempting to load favicon file from the specified path, and with the specified max cache time
Parameters:
Name | Type | Description |
---|---|---|
path |
string | the path |
maxAgeSeconds |
number | max how long the file will be cached by browser, in seconds |
- Source:
Returns:
the handler
- Type
- FaviconHandler