app.ger vs router.get
What is the difference between
Can I still use
params.app.getin the new
appare both routers, per se. However,
routerrefers to a separate router instantiated specifically for plugins to use.
When NodeBB reloads, the plugin router gets regenerated, while the application router does not.
This allows plugins to be both activated and deactivated without a full restart.
... You also cannot overwrite existing application routes in
app, though you weren't allowed to do that for awhile now.