This commit is contained in:
seb
2026-10-30 16:10:07 +01:00
parent ab6fcc107f
commit 02301ff172
7 changed files with 28 additions and 5 deletions

View File

@@ -36,6 +36,12 @@ export function register(app, basePath = '') {
* schemaVersion:
* type: integer
* description: Current database schema version
* vhost:
* type: boolean
* description: True when running in Docker (client may change feature set)
* vhostSettings:
* type: string
* description: Pipelined settings string from VHOST_SETTINGS env
* 401:
* description: Unauthorized — still includes `googleClientId` and `schemaVersion` for the frontend
* content:
@@ -50,6 +56,12 @@ export function register(app, basePath = '') {
* schemaVersion:
* type: integer
* description: Current database schema version
* vhost:
* type: boolean
* description: True when running in Docker (client may change feature set)
* vhostSettings:
* type: string
* description: Pipelined settings string from VHOST_SETTINGS env
*/
app.get(`${basePath}/auth/me`, async (req, res) => {
try {