feat: deploy HoloLake mobile capabilities safely
This commit is contained in:
parent
84f7c4c198
commit
41b2016b8b
3 changed files with 236 additions and 3 deletions
|
|
@ -256,6 +256,11 @@ function createApp(options = {}) {
|
|||
session_ttl: manager.sessionTtl,
|
||||
max_session_lifetime: manager.maxSessionLifetime,
|
||||
auto_renew_on_activity: true,
|
||||
hololake_mobile: {
|
||||
email_session: Boolean(hololakeSessionManager),
|
||||
knowledge_snapshot: Boolean(hololakeKnowledgeProvider),
|
||||
ai_gateway: Boolean(hololakeAiGateway),
|
||||
},
|
||||
});
|
||||
if (req.method === "GET" && url.pathname === "/api/public/capabilities") return json(res, 200, {
|
||||
schema: "guanghu.lake-lamp-public-workorder/v1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue