Update meta to return experimentals

This commit is contained in:
Kaity A 2023-05-14 00:18:30 +10:00
parent ee5c907a72
commit adda2816c8
No known key found for this signature in database
GPG Key ID: 5A797B97C2A490AD
2 changed files with 3 additions and 0 deletions

View File

@ -591,5 +591,6 @@ export default define(meta, paramDef, async (ps, me) => {
libreTranslateApiKey: instance.libreTranslateApiKey, libreTranslateApiKey: instance.libreTranslateApiKey,
enableIpLogging: instance.enableIpLogging, enableIpLogging: instance.enableIpLogging,
enableActiveEmailValidation: instance.enableActiveEmailValidation, enableActiveEmailValidation: instance.enableActiveEmailValidation,
experimentalFeatures: instance.experimentalFeatures,
}; };
}); });

View File

@ -525,6 +525,8 @@ export default define(meta, paramDef, async (ps, me) => {
serviceWorker: instance.enableServiceWorker, serviceWorker: instance.enableServiceWorker,
miauth: true, miauth: true,
}; };
response.experimentalFeatures = instance.experimentalFeatures;
} }
return response; return response;