Added a more general app options parameter instead of a single routing parameter. This way the configuration of the app can be separated on multiple themes.
I needed to be able to configure the morgan logging module on another project and had to code a hack to do so as it was not accessible in ExpressAppConfig. No hacky way needed if we have appOptions object and not only a routingOptions parameter.
Added a more general app options parameter instead of a single routing parameter. This way the configuration of the app can be separated on multiple themes.
I needed to be able to configure the morgan logging module on another project and had to code a hack to do so as it was not accessible in ExpressAppConfig. No hacky way needed if we have appOptions object and not only a routingOptions parameter.
I added the possibility to configure the format of morgan log strings (https://github.com/expressjs/morgan#morganformat-options) and implemented an HTTP error limiter. I also updated the example.