Redesign disabled feed system

This commit is contained in:
Cadence Ember
2020-04-22 23:59:45 +12:00
parent 8300744d87
commit b7d3309a2b
9 changed files with 210 additions and 89 deletions

View File

@@ -29,6 +29,10 @@ subdirs("pug", async (err, dirs) => {
pinski.muteLogsStartingWith("/videoproxy")
pinski.muteLogsStartingWith("/static")
for (const route of constants.additional_routes) {
pinski.addRoute(route.web, route.local, route.type)
}
if (constants.tor.enabled) {
await require("../lib/utils/tor") // make sure tor state is known before going further
}