mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'instance-cache' into 'main'
Cache /api/v1/instance for 5 minutes See merge request soapbox-pub/ditto!155
This commit is contained in:
commit
a738ed3d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ app.get('/users/:username', actorController);
|
|||
|
||||
app.get('/nodeinfo/:version', nodeInfoSchemaController);
|
||||
|
||||
app.get('/api/v1/instance', instanceController);
|
||||
app.get('/api/v1/instance', cache({ cacheName: 'web', expires: Time.minutes(5) }), instanceController);
|
||||
|
||||
app.get('/api/v1/apps/verify_credentials', appCredentialsController);
|
||||
app.post('/api/v1/apps', createAppController);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue