mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:37:07 +00:00
Add diagnostics API endpoint.
Only available with write access and above. Reports used and available filesystem sizes and database space usage.
This commit is contained in:
@@ -312,6 +312,9 @@ app.map({
|
||||
}
|
||||
}
|
||||
},
|
||||
'/diagnostics/': {
|
||||
get: [ mw.auth.access.write, mw.etag.noSave, mw.admin.diagnostics.get ]
|
||||
},
|
||||
'/rss/': {
|
||||
get: [ mw.rss.get ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user