summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2023-12-03 10:17:07 +0900
committerGitHub <noreply@github.com>2023-12-03 10:17:07 +0900
commit5ccd61b1f8547c6d7dd846f57012c5d7010c4793 (patch)
treeee3dabb39c030cf1a049ee07ad2ad72d16eff9b2 /packages/frontend/src/scripts
parentバックエンドが生成するapi.jsonからmisskey-jsの型を作成す... (diff)
downloadsharkey-5ccd61b1f8547c6d7dd846f57012c5d7010c4793.tar.gz
sharkey-5ccd61b1f8547c6d7dd846f57012c5d7010c4793.tar.bz2
sharkey-5ccd61b1f8547c6d7dd846f57012c5d7010c4793.zip
Revert "fix #12528 (#12536)" (#12548)
This reverts commit a5f0b5ec74940b0c53242dfc64c322139c91e362.
Diffstat (limited to 'packages/frontend/src/scripts')
-rw-r--r--packages/frontend/src/scripts/theme.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/theme.ts b/packages/frontend/src/scripts/theme.ts
index bc97f971ef..b6383487c9 100644
--- a/packages/frontend/src/scripts/theme.ts
+++ b/packages/frontend/src/scripts/theme.ts
@@ -44,7 +44,7 @@ export const getBuiltinThemes = () => Promise.all(
'd-cherry',
'd-ice',
'd-u0',
- ].map(name => import(`${__dirname}/../themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
+ ].map(name => import(`../themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);
export const getBuiltinThemesRef = () => {