This commit is contained in:
lesion
2021-12-09 09:32:43 +01:00
parent fb22dfd114
commit 073b740379
2 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ parent: Install
## Configuration
{: .no_toc }
`gancio` configuration is done during installation process but you can change it editing the configuration file. Note that you can always re-run gancio with `--setup` flag to use the interactive setup.
`gancio` configuration is done during installation process but you can change it editing the configuration file.
The configuration file shoud be a `.json` or a `.js` file and could be specified using the `--config` flag.
- <small>eg. `gancio start --config ./config.json`</small>

View File

@@ -19,7 +19,6 @@ app.use(helpers.logRequest)
app.use(helpers.initSettings)
app.use(helpers.serveStatic())
// ignore unimplemented ping url from fediverse
app.use(cookieParser())
@@ -40,6 +39,8 @@ if (!config.firstrun) {
app.use('/event/:slug', helpers.APRedirect)
// federation api / activitypub / webfinger / nodeinfo
app.use('/federation', federation)
// ignore unimplemented ping url from fediverse
app.use(spamFilter)
// fill req.user if request is authenticated