diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-19 16:37:43 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-19 16:37:43 +0900 |
| commit | b0f6c44f36f3173f5d232d1adb02fc09dfdcc003 (patch) | |
| tree | 5ba44e4bdd60bf8dc4d63c4c9bf6b8ba358c51a9 /packages/frontend/src/cache.ts | |
| parent | feat(frontend): 任意のユーザーリストをタイムラインページ... (diff) | |
| download | sharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.tar.gz sharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.tar.bz2 sharkey-b0f6c44f36f3173f5d232d1adb02fc09dfdcc003.zip | |
refactor(frontend): use ESM
Diffstat (limited to 'packages/frontend/src/cache.ts')
| -rw-r--r-- | packages/frontend/src/cache.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/cache.ts b/packages/frontend/src/cache.ts index 1f3d28ba57..25d2b3c15f 100644 --- a/packages/frontend/src/cache.ts +++ b/packages/frontend/src/cache.ts @@ -4,8 +4,8 @@ */ import * as Misskey from 'misskey-js'; -import { Cache } from '@/scripts/cache'; -import { api } from '@/os'; +import { Cache } from '@/scripts/cache.js'; +import { api } from '@/os.js'; export const clipsCache = new Cache<Misskey.entities.Clip[]>(1000 * 60 * 30, () => api('clips/list')); export const rolesCache = new Cache(1000 * 60 * 30, () => api('admin/roles/list')); |