rename: client -> frontend
This commit is contained in:
8
packages/frontend/src/stream.ts
Normal file
8
packages/frontend/src/stream.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { markRaw } from 'vue';
|
||||
import { $i } from '@/account';
|
||||
import { url } from '@/config';
|
||||
|
||||
export const stream = markRaw(new Misskey.Stream(url, $i ? {
|
||||
token: $i.token,
|
||||
} : null));
|
Reference in New Issue
Block a user