feat: add runtime
This commit is contained in:
parent
ddf50bbe4b
commit
c1388118a6
@ -15,6 +15,12 @@ export const assistantConfig = new AssistantInit({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const httpsPem = new HttpsPem(assistantConfig);
|
const httpsPem = new HttpsPem(assistantConfig);
|
||||||
|
|
||||||
|
export const runtime = useContextKey('runtime', () => {
|
||||||
|
return {
|
||||||
|
type: 'client',
|
||||||
|
};
|
||||||
|
});
|
||||||
export const app = useContextKey('app', () => {
|
export const app = useContextKey('app', () => {
|
||||||
const init = isInit;
|
const init = isInit;
|
||||||
if (init) {
|
if (init) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user