Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 3da68c8

Browse files
committed
Fix: Frontend のsharedにはアクセスできないじゃん...
1 parent bf64a29 commit 3da68c8

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

packages/frontend-shared/js/const.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,3 @@ export const MFM_PARAMS: Record<typeof MFM_TAGS[number], string[]> = {
153153
ruby: [],
154154
unixtime: [],
155155
};
156-
157-
export const FETCH_TIMEOUT_MS = 10000;

packages/sw/src/const.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const FETCH_TIMEOUT_MS = 10000;

packages/sw/src/scripts/lang.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
import { get, set } from 'idb-keyval';
1010
import { I18n } from '@@/js/i18n.js';
11-
import { FETCH_TIMEOUT_MS } from '@@/js/const';
11+
import { FETCH_TIMEOUT_MS } from '../const.js';
1212
import type { Locale } from '../../../../locales/index.js';
1313

1414
class SwLang {

packages/sw/src/sw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { get } from 'idb-keyval';
77
import * as Misskey from 'misskey-js';
8-
import { FETCH_TIMEOUT_MS } from '@@/js/const';
8+
import { FETCH_TIMEOUT_MS } from './const.js';
99
import type { PushNotificationDataMap } from '@/types.js';
1010
import type { I18n } from '@@/js/i18n.js';
1111
import type { Locale } from '../../../locales/index.js';

0 commit comments

Comments
 (0)