minor
This commit is contained in:
@@ -7,7 +7,7 @@ parent: Install
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
{: .no_toc }
|
{: .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.
|
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>
|
- <small>eg. `gancio start --config ./config.json`</small>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ app.use(helpers.logRequest)
|
|||||||
app.use(helpers.initSettings)
|
app.use(helpers.initSettings)
|
||||||
app.use(helpers.serveStatic())
|
app.use(helpers.serveStatic())
|
||||||
|
|
||||||
// ignore unimplemented ping url from fediverse
|
|
||||||
app.use(cookieParser())
|
app.use(cookieParser())
|
||||||
|
|
||||||
|
|
||||||
@@ -40,6 +39,8 @@ if (!config.firstrun) {
|
|||||||
app.use('/event/:slug', helpers.APRedirect)
|
app.use('/event/:slug', helpers.APRedirect)
|
||||||
// federation api / activitypub / webfinger / nodeinfo
|
// federation api / activitypub / webfinger / nodeinfo
|
||||||
app.use('/federation', federation)
|
app.use('/federation', federation)
|
||||||
|
|
||||||
|
// ignore unimplemented ping url from fediverse
|
||||||
app.use(spamFilter)
|
app.use(spamFilter)
|
||||||
|
|
||||||
// fill req.user if request is authenticated
|
// fill req.user if request is authenticated
|
||||||
|
|||||||
Reference in New Issue
Block a user