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,
enableIpLogging: instance.enableIpLogging,
enableActiveEmailValidation: instance.enableActiveEmailValidation,
experimentalFeatures: instance.experimentalFeatures,
};
});

View file

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