minor
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user